Add CREATE DATABASE LOCALE option

Enterprise / PostgreSQL - Peter Eisentraut [eisentraut.org] - 23 July 2019 12:47 EDT

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

06140c201b Add CREATE DATABASE LOCALE option
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(-)

Upstream: git.postgresql.org


  • Share