knizhnik / imcs

In-Memory Columnar Store extension for PostgreSQL
Apache License 2.0
201 stars 33 forks source link

segment fault when access a cs which is not initialized and also base table can't be find #6

Closed amutu closed 10 years ago

amutu commented 10 years ago

this bug can be reliable repeated: create table a; insert data to a; create cs for a; load data for a cs; restart PG; drop or rename table a; select * from a_get() cause segment fault and pg crash

I think it may caused by autoload which do not check if the cs base table exists.

knizhnik commented 10 years ago

Check is added.