Re: Issues with german locale on CentOS 5,6,7 - Mailing list pgsql-general

From Thomas Munro
Subject Re: Issues with german locale on CentOS 5,6,7
Date
Msg-id CAEepm=1agffD39KM-vM3ud+qkBVsiJfw22HWz1ci6FzyGef9Fg@mail.gmail.com
Whole thread Raw
In response to Re: Issues with german locale on CentOS 5,6,7  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Responses Re: Issues with german locale on CentOS 5,6,7  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Re: Issues with german locale on CentOS 5,6,7  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-general
On Thu, Oct 8, 2015 at 5:52 AM, Peter Geoghegan
<peter.geoghegan86@gmail.com> wrote:
> On Wed, Oct 7, 2015 at 6:25 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The only real way out of such a situation is to REINDEX affected indexes.
>> Refusing to start the server not only doesn't contribute to a solution,
>> but makes it impossible to fix manually.
>
> I agree that that would be almost as bad as carrying on, because there
> is no reason to think that the locale thing can easily be rolled back.
> That was my point, in fact.

I have contemplated a maintenance script that would track either the
md5 checksums of the /usr/lib/locale/*/LC_COLLATE files or the version
of installed locale packages and automatically reindex things when
they change (I guess after restarting the cluster to clear any glibc
caches that might be lurking in long running backends).  Or at least
tell me that's needed.  Obviously completely OS-specific...

--
Thomas Munro
http://www.enterprisedb.com


pgsql-general by date:

Previous
From: "Ramalingam, Sankarakumar"
Date:
Subject: Re: postgres standby won't start
Next
From: Adrian Klaver
Date:
Subject: Re: postgres standby won't start