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_15_STABLE

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

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

Reply via email to