Fix initdb --no-locale.

Discussion: https://postgr.es/m/878relf7cb.fsf@news-spur.riddles.org.uk
Reported-by: Andrew Gierth
This commit is contained in:
Jeff Davis 2023-04-21 13:11:18 -07:00
parent c04c6c5d6f
commit 5cd1a5af4d
1 changed files with 1 additions and 0 deletions

View File

@ -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);