aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-04-06 08:42:53 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-04-06 08:42:53 +0000
commit1eef90d0a21167c4043c7d8cacaa0e937c9eb8e8 (patch)
treee638cb48d3ec22453585250506b051e4d82436c0 /src/bin/scripts
parentf2110a757d0bdca766fa1b8562c7dcb1a53fd422 (diff)
downloadpostgresql-1eef90d0a21167c4043c7d8cacaa0e937c9eb8e8.tar.gz
postgresql-1eef90d0a21167c4043c7d8cacaa0e937c9eb8e8.zip
Rename the new CREATE DATABASE options to set collation and ctype into
LC_COLLATE and LC_CTYPE, per discussion on pgsql-hackers.
Diffstat (limited to 'src/bin/scripts')
-rw-r--r--src/bin/scripts/createdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/scripts/createdb.c b/src/bin/scripts/createdb.c
index 773107e4876..50777acd520 100644
--- a/src/bin/scripts/createdb.c
+++ b/src/bin/scripts/createdb.c
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/createdb.c,v 1.33 2009/02/26 16:20:55 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/createdb.c,v 1.34 2009/04/06 08:42:53 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -186,9 +186,9 @@ main(int argc, char *argv[])
if (template)
appendPQExpBuffer(&sql, " TEMPLATE %s", fmtId(template));
if (lc_collate)
- appendPQExpBuffer(&sql, " COLLATE '%s'", lc_collate);
+ appendPQExpBuffer(&sql, " LC_COLLATE '%s'", lc_collate);
if (lc_ctype)
- appendPQExpBuffer(&sql, " CTYPE '%s'", lc_ctype);
+ appendPQExpBuffer(&sql, " LC_CTYPE '%s'", lc_ctype);
appendPQExpBuffer(&sql, ";\n");