pgsql: Fix new pg_upgrade query not to rely on regnamespace

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix new pg_upgrade query not to rely on regnamespace
Date: 2025-07-04 19:33:22
Message-ID: E1uXm9x-004iMe-36@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix new pg_upgrade query not to rely on regnamespace

That was invented in 9.5, and pg_upgrade claims to support back to 9.0.
But we don't need that with a simple query change, tested by Tom Lane.

Discussion: https://postgr.es/m/202507041645.afjl5rssvrgu@alvherre.pgsql

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1e007722fa86ff397b0f3d165c89237ab3b05967

Modified Files
--------------
src/bin/pg_upgrade/check.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David G. Johnston 2025-07-05 14:57:01 Re: pgsql: Fix bogus grammar for a CREATE CONSTRAINT TRIGGER error
Previous Message Álvaro Herrera 2025-07-04 16:07:01 pgsql: pg_upgrade: check for inconsistencies in not-null constraints w/