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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy