PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15970
PG Version11.5
OSWindows 10
Opened2019-08-20 17:51:37+00
Reported byBenjamin Roswall
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15970
Logged by:          Benjamin Roswall
Email address:      (redacted)
PostgreSQL version: 11.5
Operating system:   Windows 10
Description:        

When running the installer, the locale is not match/found by "postgres". I
assume that's why the match of versions between initdb.exe and postgres
fails.

Any idea how to get around that?

C:\Program Files\PostgreSQL\11\bin>initdb.exe -V
initdb (PostgreSQL) 11.5

C:\Program Files\PostgreSQL\11\bin>postgres -V
WARNING:  01000: could not determine encoding for locale
"English_Sweden.utf8": codeset is "CPutf8"
LOCATION:  pg_get_encoding_from_locale,
d:\pginstaller.auto\postgres.windows-x64\src\port\chklocale.c:416
postgres (PostgreSQL) 11.5

C:\Program Files\PostgreSQL\11\bin>initdb -D "C:\Program
Files\PostgreSQL\11\data" --encoding=UTF8 --locale=sv_SE
The program "postgres" was found by "C:\Program
Files\PostgreSQL\11\bin/initdb"
but was not the same version as initdb.
Check your installation.

Messages

DateAuthorSubject
2019-08-20 17:51:37+00PG Bug reporting formBUG #15970: Db initialization error - initdb.exe and postgres not same version