pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Michael Gradek <mike@busbud.com>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13440: unaccent does not remove all diacritics
Date: Wed, 02 Sep 2015 23:43:52 -0400
Message-ID: <28378.1441251832@sss.pgh.pa.us> (raw)
In-Reply-To: <20150903014059.GA2912@alvherre.pgsql>
References: <4186.1434655846@sss.pgh.pa.us>
	<CAEepm=24OUabfGQM4JLnNCtwu_fvhuH34ObKTbnsEj5oKLWL8w@mail.gmail.com>
	<CAEepm=1KRVinFtuDao4L+qSBh4T4k3z996EwD5-zgytu4Qa5Fw@mail.gmail.com>
	<20150902165513.GG5286@alap3.anarazel.de>
	<CAEepm=3=2RM_6Nz8ss=QpuimRTF_2R-U5iBHqQ8r-rGSj9LsAQ@mail.gmail.com>
	<21343.1441236191@sss.pgh.pa.us>
	<20150902232747.GI8555@awork2.anarazel.de>
	<21652.1441236780@sss.pgh.pa.us>
	<20150902235435.GA17210@awork2.anarazel.de>
	<22423.1441238377@sss.pgh.pa.us>
	<20150903014059.GA2912@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> No, not after someone pointed out that it could have strange side-effects
>> on full text search configurations that used unaccent.  You'd stop being
>> able to find documents whenever your search term is stripped of accents
>> more thoroughly than before.  That might be all right in a new major
>> release (if it documents that you might have to rebuild your FTS indexes
>> and derived tsvector columns).  It's not all right in a minor release.

> Hmm, so what happens if you pg_upgrade FTS indexes?  Are they somehow
> marked invalid and a REINDEX is forced?

No.  They're not broken in a fundamental way, it's just that certain
search terms no longer find document words you might think they should
match.  Oleg and Teodor argued back at the beginning of the FTS stuff
that this sort of thing wasn't critical, and I agree --- but we shouldn't
change the mapping in minor releases.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (64+ messages)  latest in thread

Message-ID: <28378.1441251832@sss.pgh.pa.us>
Permalink:  ../28378.1441251832@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28378.1441251832@sss.pgh.pa.us

 · 

reply

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, andres@anarazel.de, thomas.munro@enterprisedb.com, mike@busbud.com
  Subject: Re: BUG #13440: unaccent does not remove all diacritics
  In-Reply-To: <28378.1441251832@sss.pgh.pa.us>
  References: <4186.1434655846@sss.pgh.pa.us> <CAEepm=24OUabfGQM4JLnNCtwu_fvhuH34ObKTbnsEj5oKLWL8w@mail.gmail.com> <CAEepm=1KRVinFtuDao4L+qSBh4T4k3z996EwD5-zgytu4Qa5Fw@mail.gmail.com> <20150902165513.GG5286@alap3.anarazel.de> <CAEepm=3=2RM_6Nz8ss=QpuimRTF_2R-U5iBHqQ8r-rGSj9LsAQ@mail.gmail.com> <21343.1441236191@sss.pgh.pa.us> <20150902232747.GI8555@awork2.anarazel.de> <21652.1441236780@sss.pgh.pa.us> <20150902235435.GA17210@awork2.anarazel.de> <22423.1441238377@sss.pgh.pa.us> <20150903014059.GA2912@alvherre.pgsql> <28378.1441251832@sss.pgh.pa.us>

* 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