Re: postgresql-17 on debian bookworm - directories missing - Mailing list pgsql-general

From Álvaro Herrera
Subject Re: postgresql-17 on debian bookworm - directories missing
Date
Msg-id 202511201242.4pht5cyc33ex@alvherre.pgsql
Whole thread Raw
In response to postgresql-17 on debian bookworm - directories missing  (Hu Bert <revirii@googlemail.com>)
Responses Re: postgresql-17 on debian bookworm - directories missing
List pgsql-general
On 2025-Nov-20, Hu Bert wrote:

> Hi there,
> i have a debian bookworm with postgresql-16 installed, from postgresql
> repository. I wanted to install postgresql-17 and then do a an inplace
> upgrade via pg_upgrade.
> 
> Install: apt install postgresql-17 postgresql-17-postgis-3
> postgresql-17-postgis-3-scripts postgresql-client-17
> 
> But after the installation there's no v17 cluster:

I think this is expected.  The Debian packages create a cluster when you
install the server packages only if you don't already have a cluster.
Here it's clearly that you do have one, so a new one isn't created.  You
could create one yourself with pg_createcluster.  However, if what you
want to do is to upgrade the 16 one, then I think you don't need to
create a new one, but instead use pg_upgradecluster which will create
one for you.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-general by date:

Previous
From: Hu Bert
Date:
Subject: Re: postgresql-17 on debian bookworm - directories missing
Next
From: Hu Bert
Date:
Subject: Re: postgresql-17 on debian bookworm - directories missing