pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Collation versioning
Date: Thu, 13 Sep 2018 10:22:36 +0200
Message-ID: <20180913082236.GB13439@msg.df7cb.de> (raw)
In-Reply-To: <4f60612c-a7b5-092d-1532-21ff7a106bd5@2ndquadrant.com>
References: <CAEepm=3a5BC7CwsXZo3V4fw6YuAMT2nJ1krwtqOatb=vDqRWEA@mail.gmail.com>
	<20180905191014.GA29241@msg.df7cb.de>
	<CAEepm=3mKYhXS9NQCsPkGhkQxKAeZwbDneZV7QYKTDDYstTxZA@mail.gmail.com>
	<b7ce31bb-dfe5-c689-06c4-3a8536f73e6a@2ndquadrant.com>
	<CAEepm=01SJne1beXkuU0XxO3UdoG+n+BaE9X_ADXjG95s0nqbQ@mail.gmail.com>
	<CAEepm=1xGTsLDx63UEdcJ8MdG63CNJ-tsDWHbH9djtvxRH5ZWw@mail.gmail.com>
	<20180912081547.GA24584@msg.df7cb.de>
	<0447ec7b-cdb6-7252-7943-88a4664e7bb7@2ndquadrant.com>
	<20180912112548.GC24584@msg.df7cb.de>
	<4f60612c-a7b5-092d-1532-21ff7a106bd5@2ndquadrant.com>

Re: Peter Eisentraut 2018-09-13 <4f60612c-a7b5-092d-1532-21ff7a106bd5@2ndquadrant.com>
> Moreover, the fix for a collation version mismatch is, in the simplest
> case, to go around and REINDEX everything.  Making the collation or
> collation version global doesn't fix that.  It would actually make it
> harder because you couldn't run ALTER COLLATION REFRESH VERSION until
> after you have rebuilt all affected objects *in all databases*.

Btw, I think a "reindexdb --all --collation" (and the SQL per-database
equivalent) that only rebuilds indexes that are affected by collations
would be immensely useful to have.

Christoph




view thread (188+ messages)  latest in thread

Message-ID: <20180913082236.GB13439@msg.df7cb.de>
Permalink:  ../20180913082236.GB13439@msg.df7cb.de/
Also on:    postgresql.org/message-id/20180913082236.GB13439@msg.df7cb.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: myon@debian.org, peter.eisentraut@2ndquadrant.com, thomas.munro@enterprisedb.com
  Subject: Re: Collation versioning
  In-Reply-To: <20180913082236.GB13439@msg.df7cb.de>

* 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