aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-12-19 12:48:48 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2010-12-19 12:48:48 -0500
commit15884d494e620218d1618c491bf6e09860a863f2 (patch)
treec14b9478536571eb3e4889605d9a5c16118746b3 /src/backend/utils/adt/arrayfuncs.c
parent2bb6050c453d4015478a2cc27a088119d963b1ed (diff)
downloadpostgresql-15884d494e620218d1618c491bf6e09860a863f2.tar.gz
postgresql-15884d494e620218d1618c491bf6e09860a863f2.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/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions