Re: Cluster is not being created

VASUKI M <vasukianand0119@gmail.com>

From: VASUKI M <vasukianand0119@gmail.com>
To: T iv <tiv060370@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org, Robert Haas <robertmhaas@gmail.com>
Date: 2025-12-17T05:32:32Z
Lists: pgsql-bugs
Hi Igor,

As Robert mentioned,the information so far isn't enough to diagnose the
problem.

The "versions do not match" error usually means that initdb is finding a
different postgres.exe than the one you expect,even if --version prints the
same number.On Windows this often happens due to a leftover PostgreSQL
installation or an unexpected entry in PATH.

Could you please share:

1.The exact error message printed by initdb
2.Exact command you used to run initdb
3.The output of
 where initdb
 where postgres
 echo %PATH%
4.Confirmation that there are no remaining PostgreSQL directories (eg.
C:\program Files\PostgreSQL\*) or PostgreSQL services from older versions

with those details,it should be possible to see whether this is a PATH or
installation issue ,or something else.

Thanks,
Vasuki M
CDAC,Chennai.