Fix parsing NOT sequence in tsquery
Digging around bug #14245 I found that commit
6734a1cacd44f5b731933cbc93182b135b167d0c missed that NOT operation is
right associative in opposite to all other. This miss is resposible for
tsquery parser fail on sequence of NOT operations
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/00f304ce2dd86f4b76606225b41e0854a3362628
Modified Files
--------------
src/backend/utils/adt/tsquery.c | 4 +++-
src/test/regress/expected/tstypes.out | 36 +++++++++++++++++++++++++++++++++++
src/test/regress/sql/tstypes.sql | 6 ++++++
3 files changed, 45 insertions(+), 1 deletion(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.