knizhnik / imcs

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

cs_project on non-cs type cause sigment fault #19

Closed amutu closed 10 years ago

amutu commented 10 years ago

postgres=# select cs_project(cs_count(cs_filter(StackTopSignature = 'bpchar64:{2191a6ae264f1058fb01a0084a73b509}',uin))) from samp3_get(); NOTICE: IMCS command: parse LINE 1: ...cs_project(cs_count(cs_filter(StackTopSignature = 'bpchar64:... ^ NOTICE: IMCS command: eq NOTICE: IMCS command: filter NOTICE: IMCS command: count The connection to the server was lost. Attempting reset: Failed. Time: 55.464 ms !>

knizhnik commented 10 years ago

It was intended that only composite types are passed to cs_project. I have added a check.