Re: Adding new collations after pg_upgrade?

From: rihad <rihad(at)mail(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Adding new collations after pg_upgrade?
Date: 2019-01-06 15:57:24
Message-ID: c1b906e9-cf26-1107-a5da-07d3307ab7dc@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/06/2019 07:51 PM, Tom Lane wrote:
> rihad <rihad(at)mail(dot)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
> .
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message rihad 2019-01-06 16:05:49 Re: Adding new collations after pg_upgrade?
Previous Message Tom Lane 2019-01-06 15:51:33 Re: Adding new collations after pg_upgrade?