pgsql: Fix bogus affix-merging code. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix bogus affix-merging code.
Date
Msg-id E1f6kt1-0008Uq-Er@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix bogus affix-merging code.

NISortAffixes() compared successive compound affixes incorrectly,
thus possibly failing to merge identical affixes, or (less likely)
merging ones that shouldn't be merged.  The user-visible effects
of this are unclear, to me anyway.

Per bug #15150 from Alexander Lakhin.  It's been broken for a long time,
so back-patch to all supported branches.

Arthur Zakirov

Discussion: https://postgr.es/m/152353327780.31225.13445405496721177988@wrigleys.postgresql.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/40132187ed6a48ab9d0a8f926bb722b864665954

Modified Files
--------------
src/backend/tsearch/spell.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Revert lowering of lock level for ATTACH PARTITION
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Attempt to stabilize partition_prune test output (2)