Re: [GENERAL] Changing collate & ctype for an existing database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Changing collate & ctype for an existing database
Дата
Msg-id 14022.1499719520@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Changing collate & ctype for an existing database  (rihad <rihad@mail.ru>)
Ответы Re: [GENERAL] Changing collate & ctype for an existing database
Список pgsql-general
rihad <rihad@mail.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


В списке pgsql-general по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] How to handle simultaneous FOR-IN UPDATE-RETURNING loops?
Следующее
От: Jeff Janes
Дата:
Сообщение: [GENERAL] debugging SSL connection problems