git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8b4d3d4) | patch
Fix erroneous parsing of tsquery input "... & !(subexpression) | ..."
2010年12月19日 17:48:41 +0000 (12:48 -0500)
2010年12月19日 17:48:41 +0000 (12:48 -0500)
commit aebddf00d2a11ed05a9eaadf3823a2e39bfaede1
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.
contrib/intarray/_int_bool.c diff | blob | blame | history
contrib/ltree/ltxtquery_io.c diff | blob | blame | history
src/backend/utils/adt/tsquery.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /