Fix new pg_upgrade query not to rely on regnamespace

Álvaro Herrera <alvherre@kurilemu.de>

Commit: 708469281ea8589b19010942dee8fa623f9d3c8a
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: 2025-07-04T19:30:05Z
Releases: 13.22
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

Files

PathChange+/−
src/bin/pg_upgrade/check.c modified +4 −3

Discussion