pgsql: Add CREATE DATABASE LOCALE option
Started by Peter Eisentrautalmost 7 years ago1 messagescomitters
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@cri.ensmp.fr>
Discussion: /messages/by-id/d9d5043a-dc70-da8a-0166-1e218e6e34d4@2ndquadrant.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(-)