knizhnik / imcs

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

cs_count(cs_const(1,'int4')) can't be terminate #3

Closed amutu closed 10 years ago

amutu commented 10 years ago

select cs_count(cs_const(1,'int4')) seams cause some forever loop,and can't be terminate by pg_terminate_backend

knizhnik commented 10 years ago

Thank you very much for reporting this problem. I have added check which detects such infinite calculations and produce error in this case instead hanging the server.