mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 02:26:52 +02:00
Correct reference to pg_catalog.regtype in pg_upgrade query
The recursive CTE added in 0ccfc28223
referenced pg_catalog.regtype,
without the schema part, unlike all other queries in pg_upgrade.
Backpatch-to: 12
This commit is contained in:
parent
eaf900e842
commit
702fd3b717
@ -443,7 +443,7 @@ old_11_check_for_sql_identifier_data_type_usage(ClusterInfo *cluster)
|
|||||||
res = executeQueryOrDie(conn,
|
res = executeQueryOrDie(conn,
|
||||||
"WITH RECURSIVE oids AS ( "
|
"WITH RECURSIVE oids AS ( "
|
||||||
/* the sql_identifier type itself */
|
/* the sql_identifier type itself */
|
||||||
" SELECT 'information_schema.sql_identifier'::regtype AS oid "
|
" SELECT 'information_schema.sql_identifier'::pg_catalog.regtype AS oid "
|
||||||
" UNION ALL "
|
" UNION ALL "
|
||||||
" SELECT * FROM ( "
|
" SELECT * FROM ( "
|
||||||
/* domains on the type */
|
/* domains on the type */
|
||||||
|
Loading…
Reference in New Issue
Block a user