public inbox for [email protected]
help / color / mirror / Atom feedFrom: Danut Soare <[email protected]>
To: [email protected]
Subject: Sequence values change during upgrade
Date: Wed, 15 May 2024 11:03:05 +0300
Message-ID: <[email protected]> (raw)
References: <[email protected]>
Hi everyone.
I’m upgrading the PostgreSQL version from 12 to 16 using pg_upgrade utility with -k option. After upgrading the database, before starting any application processing, on checking the last value of some sequences, the value has been changed to a value different from the original value. Not all but some of the sequences have modified value. I’ve repeated the upgrade several times and each time the same sequences have changed with the same values. I’ve expected that the upgrade would not interfere with the application data …
This is the upgrade command:
/usr/pgsql-16/bin/pg_upgrade \
—old-datadir=/u01/pgrdb/12/app \
—new-data for=/u01/pgrdb/16/app \
—old-bindir=/usr/pgsql-12/bin \
—new-bindir=/usr/pgsql-16/bin \
-k
Best regards,
Dănuț Soare
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Sequence values change during upgrade
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox