Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aW5NE-0007zH-2P for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Feb 2016 16:54:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aW5ND-0008WF-LJ for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Feb 2016 16:54:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aW5NC-0008RS-Uk for pgsql-bugs@postgresql.org; Wed, 17 Feb 2016 16:54:42 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aW5N9-0006Uk-Hj for pgsql-bugs@postgresql.org; Wed, 17 Feb 2016 16:54:42 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1aW5N4-0000jy-Vz; Wed, 17 Feb 2016 11:54:34 -0500 Date: Wed, 17 Feb 2016 11:54:34 -0500 From: Bruce Momjian To: Teodor Sigaev Cc: =?iso-8859-1?Q?L=E9onard?= Benedetti , PostgreSQL Bugs Subject: Re: BUG #13440: unaccent does not remove all diacritics Message-ID: <20160217165434.GA23400@momjian.us> References: <4186.1434655846@sss.pgh.pa.us> <56A4426F.2040108@mlpo.fr> <56BCAA91.1040208@sigaev.ru> <56BCF7A5.6020204@mlpo.fr> <56BCF98B.3040302@mlpo.fr> <56BE0BE6.5050003@sigaev.ru> <20160216144721.GD31273@momjian.us> <56C46242.9020003@sigaev.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56C46242.9020003@sigaev.ru> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Wed, Feb 17, 2016 at 03:06:26PM +0300, Teodor Sigaev wrote: > >>I'm inclining to commit this patch becouse it suggests more regular > >>way to update unaccent rules. That is nice. > >How would this affect pg_trgm indexes upgraded by pg_upgrade? > > pg_upgrade doesn't know any tsearch configuration staff, so, it > can't do anything useful with checnges of fts configuration. The > right way is recreate all tsvector columns, but pg_upgrade obviously > is not able to run tsearch stack: parser, dictionaries etc. OK, so would we need to mark such indexes as invalid? Are you saying the tsvector columns would also be invalid? Yikes. We could at least tell people to recreate them. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs