Open pludov opened 2 years ago
Thanks, @pludov for reporting an issue.
This issue is reproducible at my end as well. This is a bug and this is due to missed handling of Param node in case of comparison operator while preparing query filter.
You can apply attached patch to fix this issue.
We will try to commit these changes as soon as possible. Fix-crash-v1.txt
I get consistent server crash when running a query from plpgsql with an inequality condition that refers to a variable. The crash happens exactly on the 6th execution of the request...
It does not occur if I change the inequality to an equality, or if I use a constant rather than a variable.
Versions:
Reproduction script: