diff options
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 6 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 6 | ||||
-rw-r--r-- | src/bin/scripts/createdb.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 7e4e7381fc6..f67002bd4ff 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -12,7 +12,7 @@ * by PostgreSQL * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.533 2009/04/05 04:19:58 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.534 2009/04/06 08:42:53 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -1716,12 +1716,12 @@ dumpDatabase(Archive *AH) } if (strlen(collate) > 0) { - appendPQExpBuffer(creaQry, " COLLATE = "); + appendPQExpBuffer(creaQry, " LC_COLLATE = "); appendStringLiteralAH(creaQry, collate, AH); } if (strlen(ctype) > 0) { - appendPQExpBuffer(creaQry, " CTYPE = "); + appendPQExpBuffer(creaQry, " LC_CTYPE = "); appendStringLiteralAH(creaQry, ctype, AH); } if (strlen(tablespace) > 0 && strcmp(tablespace, "pg_default") != 0) diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index 949f9cd0f34..019c6411352 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.121 2009/04/05 04:19:58 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.122 2009/04/06 08:42:53 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -1048,13 +1048,13 @@ dumpCreateDB(PGconn *conn) if (strlen(dbcollate) != 0) { - appendPQExpBuffer(buf, " COLLATE = "); + appendPQExpBuffer(buf, " LC_COLLATE = "); appendStringLiteralConn(buf, dbcollate, conn); } if (strlen(dbctype) != 0) { - appendPQExpBuffer(buf, " CTYPE = "); + appendPQExpBuffer(buf, " LC_CTYPE = "); appendStringLiteralConn(buf, dbctype, conn); } 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"); |