From 6462e7b81c0650bf23325a66cb70aa7ff7d78fad Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 10 Nov 2008 16:25:41 +0000 Subject: [PATCH] Add a --locale switch to createdb, to ease the creation of databases with different locales. This is just syntactical sweetener over --lc-collate and --lc-ctype. Per discussion. While at it, properly document --lc-ctype and --lc-collate in SGML docs, which apparently were forgotten (or purposefully ommited?) when they were created. --- doc/src/sgml/ref/createdb.sgml | 33 +++++++++++++++++++++++++++++++-- src/bin/scripts/createdb.c | 28 ++++++++++++++++++++++++++-- 2 files changed, 57 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/ref/createdb.sgml b/doc/src/sgml/ref/createdb.sgml index c75042c9b7..c8c12e8b06 100644 --- a/doc/src/sgml/ref/createdb.sgml +++ b/doc/src/sgml/ref/createdb.sgml @@ -1,5 +1,5 @@ @@ -106,6 +106,35 @@ PostgreSQL documentation + + + + + + Specifies the locale to be used in this database. This is equivalent + to specifying both and . + + + + + + + + + Specifies the LC_COLLATE setting to be used in this database. + + + + + + + + + Specifies the LC_CTYPE setting to be used in this database. + + + + @@ -142,7 +171,7 @@ PostgreSQL documentation - The options , , + The options , , , , and correspond to options of the underlying SQL command