Re: dropped default locale - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: dropped default locale
Date
Msg-id Y6McWL3ZI3VXCccj@hermes.hilbert.loc
Whole thread Raw
In response to Re: dropped default locale  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: dropped default locale  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
List pgsql-general
Am Wed, Dec 21, 2022 at 03:41:24PM +0100 schrieb Laurenz Albe:

> I would definitely go for the backup, but here is how you can
> create these three rows in PostgreSQL v15:
>
>   INSERT INTO pg_collation
>     (oid, collname, collnamespace, collowner, collprovider,
>      collisdeterministic, collencoding, collcollate, collctype)
>   VALUES
>     (100, 'default', 11, 10, 'd', TRUE, -1, NULL,    NULL),
>     (950, 'C',       11, 10, 'c', TRUE, -1, 'C',     'C'),
>     (951, 'POSIX',   11, 10, 'c', TRUE, -1, 'POSIX', 'POSIX');

Many thanks !  I wasn't so sure whether inserting appropriate
rows would be equivalent to create collation... (pg_collation
might have been a view projecting inner workings of the
server engine).

Thanks,
Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: dropped default locale
Next
From: Karsten Hilbert
Date:
Subject: Re: dropped default locale