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(-)