Re: Changing collate & ctype for an existing database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rihad <rihad(at)mail(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing collate & ctype for an existing database
Date: 2017-07-10 20:45:20
Message-ID: 14022.1499719520@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

rihad <rihad(at)mail(dot)ru> writes:
> On 07/10/2017 11:07 PM, Tom Lane wrote:
>> ... which that isn't. I'd suggest checking for indexes that might need
>> to be rebuilt with this query borrowed from the regression tests:

> I ran the query on our production database. Zero results.

Really? You have no indexes on textual columns? That seems surprising.

> Do I have the green light to
> set datcollate='en_US.UTF-8', datctype='en_US.UTF-8'

Well, I'd double-check that result, but I suppose you can always reindex
later if you find you missed something.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2017-07-10 21:19:32 debugging SSL connection problems
Previous Message David G. Johnston 2017-07-10 20:02:18 Re: How to handle simultaneous FOR-IN UPDATE-RETURNING loops?