pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: sergey.belyashov@gmail.com
Subject: BUG #19075: pg_upgradecluster does not copy conf.d/* during cluster upgrade
Date: Mon, 06 Oct 2025 17:23:26 +0000
Message-ID: <19075-fb0cd192f52f2fe2@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      19075
Logged by:          Sergey Belyashov
Email address:      sergey.belyashov@gmail.com
PostgreSQL version: 17.6
Operating system:   Debian bookworm x86_64
Description:        

I try to upgrade DB postgresql 17 to 18. So I install postgresql-18 (from
PostgreSQL repo) and then run "pg_upgradecluster -m link 17 main"...
It fails on checking wal_level of the new cluster - wal_level should be
logical but it is replica.
Reason: I have redefined default settings in the extra config file places in
the /etc/postgresql/17/main/conf.d/local.conf.
So I have wal_level=logical defined there, but not in the
/etc/postgresql/17/main/postgresql.conf.
If I redefine it in the /etc/postgresql/17/main/postgresql.conf then
pg_upgradecluster succeed.



view thread (2+ messages)  latest in thread

Message-ID: <19075-fb0cd192f52f2fe2@postgresql.org>
Permalink:  ../19075-fb0cd192f52f2fe2@postgresql.org/
Also on:    postgresql.org/message-id/19075-fb0cd192f52f2fe2@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, sergey.belyashov@gmail.com
  Subject: Re: BUG #19075: pg_upgradecluster does not copy conf.d/* during cluster upgrade
  In-Reply-To: <19075-fb0cd192f52f2fe2@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox