diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-12-19 12:48:58 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-12-19 12:48:58 -0500 |
commit | b053c532489a3fa1e01b196c15a0f14138ee9c3a (patch) | |
tree | f9a9fb1b52798c61ac457183869d3fc74c8843ec /src | |
parent | 10de92f87fdf78f764e620a4be8c6f72b4fff18b (diff) | |
download | postgresql-b053c532489a3fa1e01b196c15a0f14138ee9c3a.tar.gz postgresql-b053c532489a3fa1e01b196c15a0f14138ee9c3a.zip |
Fix erroneous parsing of tsquery input "... & !(subexpression) | ..."
After parsing a parenthesized subexpression, we must pop all pending
ANDs and NOTs off the stack, just like the case for a simple operand.
Per bug #5793.
Also fix clones of this routine in contrib/intarray and contrib/ltree,
where input of types query_int and ltxtquery had the same problem.
Back-patch to all supported versions.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions