pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pg_upgrade: Fix thinko in database info acquisition routine
2+ messages / 1 participants
[nested] [flat]

* pgsql: pg_upgrade: Fix thinko in database info acquisition routine
@ 2022-08-22 12:36 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2022-08-22 12:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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#515a31c...

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: pg_upgrade: Fix thinko in database info acquisition routine
@ 2022-08-22 12:36 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2022-08-22 12:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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#515a31c...

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-08-22 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 12:36 pgsql: pg_upgrade: Fix thinko in database info acquisition routine Peter Eisentraut <peter@eisentraut.org>
2022-08-22 12:36 pgsql: pg_upgrade: Fix thinko in database info acquisition routine Peter Eisentraut <peter@eisentraut.org>

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