From cc86aaa0a8c6ed39a5b0cc1da1245d6f126f9a4d 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 | 31 ++++++++++++++++++++++++++++++- src/bin/scripts/createdb.c | 26 +++++++++++++++++++++++++- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/createdb.sgml b/doc/src/sgml/ref/createdb.sgml index 97c38ed4b8..0fc66560a8 100644 --- a/doc/src/sgml/ref/createdb.sgml +++ b/doc/src/sgml/ref/createdb.sgml @@ -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