pgsql: pg_upgrade: Fix thinko in database info acquisition routine - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pg_upgrade: Fix thinko in database info acquisition routine
Date
Msg-id E1oQ6fe-000h9t-Lu@gemulon.postgresql.org
Whole thread Raw
List 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.polyakova@postgrespro.ru>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion:
https://www.postgresql.org/message-id/flat/f385ba25e7f8be427b8c582e5cca7d79%40postgrespro.ru#515a31c5429d6d37ad1d5c9d66962a1e

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f0b013b0fc0a53de0ffe610b403125affb9c6094

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


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Remove configure probes for sockaddr_storage members.
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Minor wordsmithing to COPY docs