From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | fabriziomello(at)gmail(dot)com |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add CREATE DATABASE LOCALE option |
Date: | 2019-06-06 09:38:06 |
Message-ID: | f66c9aa9-0f18-004b-1766-2f51f738f4ca@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2019-06-05 22:31, Fabrízio de Royes Mello wrote:
> On Wed, Jun 5, 2019 at 5:17 PM Peter Eisentraut
> <peter(dot)eisentraut(at)2ndquadrant(dot)com
> <mailto:peter(dot)eisentraut(at)2ndquadrant(dot)com>> wrote:
>>
>> I propose this patch to add a LOCALE option to CREATE DATABASE. This
>> sets both LC_COLLATE and LC_CTYPE with one option. Similar behavior is
>> already supported in initdb, CREATE COLLATION, and createdb.
>>
>> With collation providers other than libc, having separate lc_collate and
>> lc_ctype settings is not necessarily applicable, so this is also
>> preparation for such future functionality.
>
> Cool... would be nice also add some test cases.
Right. Any suggestions where to put them?
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Horiguchi Kyotaro | 2019-06-06 09:55:14 | pg_checksums has an untranslatable string. |
Previous Message | Peter Eisentraut | 2019-06-06 09:36:33 | Re: Fix runtime errors from -fsanitize=undefined |