Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing empty cs check for cs_sum cause backend crash #7

Closed
amutu opened this issue Feb 23, 2014 · 1 comment
Closed

missing empty cs check for cs_sum cause backend crash #7

amutu opened this issue Feb 23, 2014 · 1 comment

Comments

@amutu
Copy link

amutu commented Feb 23, 2014

postgres=# select cs_filter((k1=cs_const('xxx',16)) & (k3=cs_const('dse',16)) & (k5 = cs_const('ab',16)),v4) from test2_get();

cs_filter

int8:{}
(1 row)

Time: 9364.218 ms
postgres=# select cs_sum(cs_filter((k1=cs_const('xxx',16)) & (k3=cs_const('dse',16)) & (k5 = cs_const('ab',16)),v4)) from test2_get();
The connection to the server was lost. Attempting reset: Failed.
Time: 953.200 ms
!>

@knizhnik
Copy link
Owner

Thank you once again for reporting the problem.
The bug was in parallel executor which cause crash in case of empty result.
Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants