knizhnik / imcs

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

regression test failed on head #37

Closed amutu closed 10 years ago

amutu commented 10 years ago

the create.sql run error: select cs_create('CrashLog', 'log_time');

cs_create

(1 row)

select CrashLog_load(); ERROR: Size of attribute country is not statically known CONTEXT: PL/pgSQL function crashlog_load(boolean,text) line 1 at RETURN

the operators.sql crash the backend: select cs_project(c.*, cs_filter_pos(country = cs_str2code('USA'))) from CrashLog_get() c; connection to server was lost

other sql file then report: psql: FATAL: the database system is in recovery mode

imcs configuretion: shared_preload_libraries = '$libdir/imcs' imcs.shmem_size = 10240 imcs.substitute_nulls = on imcs.autoload = off imcs.dictionary_size = 0

amutu commented 10 years ago

if I remove the "imcs.dictionary_size = 0" in the postgresql.conf, all the test pass.

knizhnik commented 10 years ago

I have added check that dictionaru size is not 0 in cs_str2code