From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: pgsql: Restore original tsquery operation numbering.
Date: Fri, 08 Apr 2016 17:16:40 +0000
Message-ID: <E1aoa1Q-0003dV-Sc@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: teodor@sigaev.ru
Subject: Re: pgsql: Restore original tsquery operation numbering.
In-Reply-To: <E1aoa1Q-0003dV-Sc@gemulon.postgresql.org>
References: <E1aoa1Q-0003dV-Sc@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox