Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3a0e857

Browse files
committed
Correct reference to pg_catalog.regtype in pg_upgrade query
The recursive CTE added in 0ccfc28 referenced pg_catalog.regtype, without the schema part, unlike all other queries in pg_upgrade. Backpatch-to: 12
1 parent 0ccfc28 commit 3a0e857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_upgrade/version.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ old_11_check_for_sql_identifier_data_type_usage(ClusterInfo *cluster)
443443
res = executeQueryOrDie(conn,
444444
"WITH RECURSIVE oids AS ( "
445445
/* the sql_identifier type itself */
446-
" SELECT 'information_schema.sql_identifier'::regtype AS oid "
446+
" SELECT 'information_schema.sql_identifier'::pg_catalog.regtype AS oid "
447447
" UNION ALL "
448448
" SELECT * FROM ( "
449449
/* domains on the type */

0 commit comments

Comments
 (0)