Cluster is not being created

T iv <tiv060370@gmail.com>

From: T iv <tiv060370@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2025-12-13T19:34:35Z
Lists: pgsql-bugs
Hello. I have Windows 10. At the end of the PostgreSQL 18.1 installation,
the cluster is not initialized, I tried LOCALE = DEFAULT, LOCALE = C. If
you complete the installation and manually run INITDB with the following
parameters: "INITDB -D "d:\PostgreSQL\DB\"", then writes that INITDB found
the POSTGRES program, but the versions do not match. No other versions of
PostgreSQL are installed anymore. Below is the result of checking the INITDB
and POSTGRES versions. Please help me solve the problem with creating a
cluster.

c:\Program Files\PostgreSQL\18\bin>initdb --version
initdb (PostgreSQL) 18.1

c:\Program Files\PostgreSQL\18\bin>postgres --version
postgres (PostgreSQL) 18.1

Thank you in advance.
Igor.