Re: AW: AW: PGDG PostgreSQL Debian package: Question on conditions for creation of new cluster - Mailing list pgsql-general

From Adrian Klaver
Subject Re: AW: AW: PGDG PostgreSQL Debian package: Question on conditions for creation of new cluster
Date
Msg-id 3156b063-bfbd-4b0f-a8f6-aadd104fe215@aklaver.com
Whole thread Raw
In response to AW: AW: PGDG PostgreSQL Debian package: Question on conditions for creation of new cluster  (Schmid Andreas <Andreas.Schmid@bd.so.ch>)
List pgsql-general
On 2/24/25 05:57, Schmid Andreas wrote:
>> -----Ursprüngliche Nachricht-----
>> I think that lives here:
>> https://salsa.debian.org/postgresql/postgresql-common
> 
> Yes, thanks for the hint. The commit which apparently introduced the change is
https://salsa.debian.org/postgresql/postgresql-common/-/commit/d9139f7777a42a39b5b6fabbffc9f020fad4dce5:
"debian/maintscripts-functions:Create "main" cluster only when no other clusters exist yet."
 
> 
> Maybe I'm going to ask on the pgsql-pkg-debian mailing list for more details about it, as proposed by Laurenz.
> 
> @Adrian, please note that I'm not the one who asked on Stack Overflow, so I'm not cross posting over here. And I
definitelyam doing an "alongside" installation of two major versions: On my server is installed v16, and now I'm adding
v17,as described in my first message.
 

So that is what the postgresql-common new packages contained. I have not 
used them for installing a new server version since the changes. Yes 
they indeed do not create a new cluster when any other Postgres clusters 
of any flavor exist. You have to resort to manually doing:

sudo pg_createcluster 17 main --start

It would have been nice if the packagers had mentioned that change 
somewhere else then as comments in the source.

> 
> Thanks again to everybody for your help.
> 
> Andy

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: COLLATION update in 13.1
Next
From: Greg Sabino Mullane
Date:
Subject: Re: Keep specialized query pairs, or use single more general but more complex one