pgsql: Restore original tsquery operation numbering. - Mailing list pgsql-committers

From Teodor Sigaev
Subject pgsql: Restore original tsquery operation numbering.
Date
Msg-id E1aoa1Q-0003dV-Sc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Restore original tsquery operation numbering.

As noticed by Tom Lane changing operation's number in commit
bb140506df605fab58f48926ee1db1f80bdafb59 causes on-disk format incompatibility.
Revert to previous numbering, that is reason to add special array to store
priorities of operation. Also it reverts order of tsquery to previous.

Author: Dmitry Ivanov

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1ec4c7c055ca045c5df6352a4cdacd9aa778e598

Modified Files
--------------
src/backend/utils/adt/tsquery.c       | 12 +++++++++---
src/include/tsearch/ts_type.h         | 17 +++++++++++++----
src/test/regress/expected/tsearch.out | 14 +++++++-------
src/test/regress/expected/tstypes.out |  2 +-
4 files changed, 30 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Silence warning from modern perl about unescaped braces
Next
From: Teodor Sigaev
Date:
Subject: pgsql: Fix output of regression test of contrib/tsearch2