Fix new pg_upgrade query not to rely on regnamespace
authorÁlvaro Herrera <[email protected]>
Fri, 4 Jul 2025 19:30:05 +0000 (21:30 +0200)
committerÁlvaro Herrera <[email protected]>
Fri, 4 Jul 2025 19:30:05 +0000 (21:30 +0200)
commitbd48455d88a8e69a85f040018e9dd8c7d129ea0e
tree215becb7dd5392cf33a5129cb56bb74b594065fe
parent0f49586850a905ec61220f6045d2a8480877414e
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[email protected]
src/bin/pg_upgrade/check.c