Re: Cluster is not being created

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: T iv <tiv060370(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Cluster is not being created
Date: 2025-12-15 16:50:33
Message-ID: CA+TgmoZHJ3ianj=CSeDCTTSc-7S7Qq0HW=gNP=nGJ73jRcZHYQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Dec 13, 2025 at 2:34 PM T iv <tiv060370(at)gmail(dot)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 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

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2025-12-15 17:46:15 Re: BUG #19354: JOHAB rejects valid byte sequences
Previous Message Richard Guo 2025-12-15 14:28:54 Re: BUG #19353: Error XX000 if referencing expanded array in grouping set: variable not found in subplan target list