summaryrefslogtreecommitdiffstats
path: root/src/bin/scripts/createdb.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:05:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:05:20 +0000
commita14b88819a8a22da4f5abb19a3b1b61aebb10a7c (patch)
tree45f36cde15c9ff8c45d9efbaa7b02426ca984121 /src/bin/scripts/createdb.c
parentAdding debian version 15.6-0+deb12u1. (diff)
downloadpostgresql-15-a14b88819a8a22da4f5abb19a3b1b61aebb10a7c.tar.xz
postgresql-15-a14b88819a8a22da4f5abb19a3b1b61aebb10a7c.zip
Merging upstream version 15.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/bin/scripts/createdb.c')
-rw-r--r--src/bin/scripts/createdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/scripts/createdb.c b/src/bin/scripts/createdb.c
index a1482df..cbeef4f 100644
--- a/src/bin/scripts/createdb.c
+++ b/src/bin/scripts/createdb.c
@@ -225,7 +225,7 @@ main(int argc, char *argv[])
appendStringLiteralConn(&sql, lc_ctype, conn);
}
if (locale_provider)
- appendPQExpBuffer(&sql, " LOCALE_PROVIDER %s", locale_provider);
+ appendPQExpBuffer(&sql, " LOCALE_PROVIDER %s", fmtId(locale_provider));
if (icu_locale)
{
appendPQExpBufferStr(&sql, " ICU_LOCALE ");