pgsql: Add CREATE DATABASE LOCALE option

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add CREATE DATABASE LOCALE option
Date: 2019-07-23 12:50:13
Message-ID: E1hpuFB-0006AF-0R@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add CREATE DATABASE LOCALE option

This sets both LC_COLLATE and LC_CTYPE with one option. Similar
behavior is already supported in initdb, CREATE COLLATION, and
createdb.

Reviewed-by: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Discussion: https://www.postgresql.org/message-id/flat/d9d5043a-dc70-da8a-0166-1e218e6e34d4%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/06140c201b982436974d71e756d7331767a41e57

Modified Files
--------------
doc/src/sgml/ref/create_database.sgml | 25 +++++++++++++++++++++++--
src/backend/commands/dbcommands.c | 21 +++++++++++++++++++++
src/bin/pg_dump/pg_dump.c | 18 +++++++++++++-----
src/bin/pg_dump/t/002_pg_dump.pl | 9 +++++++++
4 files changed, 66 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-07-23 21:04:43 pgsql: Improve psql's \d output for TOAST tables.
Previous Message Michael Paquier 2019-07-23 05:32:04 pgsql: Remove more progname references in vacuumdb.c