pgsql: Fix new pg_upgrade query not to rely on regnamespace - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: Fix new pg_upgrade query not to rely on regnamespace
Date
Msg-id E1uXm9y-004iMn-03@gemulon.postgresql.org
Whole thread Raw
List 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_16_STABLE

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

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


pgsql-committers by date:

Previous
From: Álvaro Herrera
Date:
Subject: pgsql: pg_upgrade: check for inconsistencies in not-null constraints w/
Next
From: "David G. Johnston"
Date:
Subject: Re: pgsql: Fix bogus grammar for a CREATE CONSTRAINT TRIGGER error