From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Restore original tsquery operation numbering. |
Date: | 2016-04-08 17:16:40 |
Message-ID: | E1aoa1Q-0003dV-Sc@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Teodor Sigaev | 2016-04-08 17:38:32 | pgsql: Fix output of regression test of contrib/tsearch2 |
Previous Message | Andrew Dunstan | 2016-04-08 16:50:36 | pgsql: Silence warning from modern perl about unescaped braces |