Fix ac218aa4f6 to work on versions before 9.5. Unfortunately ac218aa4f6 missed the fact that a reference to 'pg_catalog.regnamespace'::regclass wouldn't work before that type is known. Fix that, by replacing the regtype usage with a join to pg_type.
Reported-By: Tom Lane Author: Andres Freund Discussion: https://postgr.es/m/[email protected] Backpatch: 9.5-, like ac218aa4f6 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/24a832c68a7951473e97c1bb215c549603c51b0f Modified Files -------------- src/bin/pg_upgrade/check.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-)
