Re: Cluster is not being created - Mailing list pgsql-bugs

From Robert Haas
Subject Re: Cluster is not being created
Date
Msg-id CA+TgmoZHJ3ianj=CSeDCTTSc-7S7Qq0HW=gNP=nGJ73jRcZHYQ@mail.gmail.com
Whole thread Raw
In response to Cluster is not being created  (T iv <tiv060370@gmail.com>)
List pgsql-bugs
On Sat, Dec 13, 2025 at 2:34 PM T iv <tiv060370@gmail.com> wrote:
> 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
otherversions of PostgreSQL are installed anymore. Below is the result of checking the INITDB and POSTGRES versions.
Pleasehelp 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

I am not sure that anyone will be able to help you given this amount
of information. You say that "the versions do not match," but you
don't tell us what the error message was, or the other version number.
If you're seeing two actually different version numbers, like 18.1 in
one place and something else in another places, then almost certainly
that other version is still installed someplace. If both version
numbers are 18.1 but there's an error message claiming that 18.1 is
not the same as 18.1, then you should show us the specific error
message and the command that provoked it (plus your PATH).

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-bugs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: BUG #19355: Attempt to insert data unexpectedly during concurrent update
Next
From: Robert Haas
Date:
Subject: Re: BUG #19354: JOHAB rejects valid byte sequences