Re: dropped default locale

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: dropped default locale
Date: 2022-12-21 14:46:48
Message-ID: Y6McWL3ZI3VXCccj@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2022-12-21 14:51:54 Re: dropped default locale
Previous Message Laurenz Albe 2022-12-21 14:41:24 Re: dropped default locale