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_17_STABLE

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

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

Reply via email to