pgsql: pg_upgrade: Fix thinko in database info acquisition routine

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: Fix thinko in database info acquisition routine
Date: 2022-08-22 12:36:47
Message-ID: E1oQ6fe-000h9u-MV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: Fix thinko in database info acquisition routine

When checking whether the major version supports per-database locale
providers, it was always looking at the version of the old cluster
instead of the cluster that was passed in. This would lead to
failures to detect locale provider mismatches.

Reported-by: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>
Reviewed-by: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/f385ba25e7f8be427b8c582e5cca7d79%40postgrespro.ru#515a31c5429d6d37ad1d5c9d66962a1e

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3725b7f3c93eac3148fe36cffbb7db47d4a9fae0

Modified Files
--------------
src/bin/pg_upgrade/info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-08-22 13:09:28 pgsql: doc: Minor wordsmithing to COPY docs
Previous Message Thomas Munro 2022-08-22 05:53:55 pgsql: Remove configure probes for sockaddr_storage members.