Fix new pg_upgrade query not to rely on regnamespace
authorÁlvaro Herrera <alvherre@kurilemu.de>
Fri, 4 Jul 2025 19:30:05 +0000 (21:30 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Fri, 4 Jul 2025 19:30:05 +0000 (21:30 +0200)
commit94dc2b37baee204c378a7137287fe652285b766e
tree0ea8a92fbb072545b8fadd05d5df5f964fc923e4
parentea3386cc784a5325f8567542e902287a1379b036
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: http://postgr.es/m/202507041645.afjl5rssvrgu@alvherre.pgsql
src/bin/pg_upgrade/check.c