projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c04c6c5
)
Fix initdb --no-locale.
author
Jeff Davis
<jdavis@postgresql.org>
Fri, 21 Apr 2023 20:11:18 +0000
(13:11 -0700)
committer
Jeff Davis
<jdavis@postgresql.org>
Fri, 21 Apr 2023 20:11:18 +0000
(13:11 -0700)
Discussion: https://postgr.es/m/878relf7cb.fsf@news-spur.riddles.org.uk
Reported-by: Andrew Gierth
src/bin/initdb/initdb.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/initdb/initdb.c
b/src/bin/initdb/initdb.c
index e244d930bf9ad9bf479dfc6e8c58dc7d55b9a809..2c208ead019b52ee456ec516c7344898c8e7a452 100644
(file)
--- a/
src/bin/initdb/initdb.c
+++ b/
src/bin/initdb/initdb.c
@@
-3297,6
+3297,7
@@
main(int argc, char *argv[])
break;
case 8:
locale = "C";
+ locale_provider = COLLPROVIDER_LIBC;
break;
case 9:
pwfilename = pg_strdup(optarg);