Re: Adding new collations after pg_upgrade?

Поиск
Список
Период
Сортировка
От rihad
Тема Re: Adding new collations after pg_upgrade?
Дата
Msg-id c1b906e9-cf26-1107-a5da-07d3307ab7dc@mail.ru
обсуждение исходный текст
Ответ на Re: Adding new collations after pg_upgrade?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Adding new collations after pg_upgrade?  (rihad <rihad@mail.ru>)
Список pgsql-general
On 01/06/2019 07:51 PM, Tom Lane wrote:
> rihad <rihad@mail.ru> writes:
>> Hi. on a freshly installed 10.6 I can see all ICU collations added in
>> pg_collation schema. Is there a way to have them for an existing
>> database cluster?
> There's a function called something like pg_import_system_collations.
> See documentation.

Thanks a lot!

postgres=# select pg_import_system_collations('pg_catalog');
  pg_import_system_collations
-----------------------------
                          798
(1 row)

postgres=# select pg_import_system_collations('pg_catalog');
  pg_import_system_collations
-----------------------------
                            0
(1 row)


>
>             regards, tom lane
> .
>



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Adding new collations after pg_upgrade?
Следующее
От: rihad
Дата:
Сообщение: Re: Adding new collations after pg_upgrade?