Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98fbce0

Browse files
committed
In pg_upgrade, allow tables using regclass to be upgraded because we
preserve pg_class oids since PG 9.0.
1 parent7c9557b commit98fbce0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎contrib/pg_upgrade/check.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ check_for_reg_data_type_usage(ClusterInfo *cluster)
686686
"'pg_catalog.regprocedure'::pg_catalog.regtype, "
687687
"'pg_catalog.regoper'::pg_catalog.regtype, "
688688
"'pg_catalog.regoperator'::pg_catalog.regtype, "
689-
"'pg_catalog.regclass'::pg_catalog.regtype, "
689+
/*allow "'pg_catalog.regclass'::pg_catalog.regtype, "*/
690690
/* regtype.oid is preserved, so 'regtype' is OK */
691691
"'pg_catalog.regconfig'::pg_catalog.regtype, "
692692
"'pg_catalog.regdictionary'::pg_catalog.regtype) AND "

‎doc/src/sgml/pgupgrade.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ psql --username postgres --file script.sql postgres
541541
<application>pg_upgrade</> does not support upgrading of databases
542542
containing these <type>reg*</> OID-referencing system data types:
543543
<type>regproc</>, <type>regprocedure</>, <type>regoper</>,
544-
<type>regoperator</>, <type>regclass</>, <type>regconfig</>, and
544+
<type>regoperator</>, <type>regconfig</>, and
545545
<type>regdictionary</>. (<type>regtype</> can be upgraded.)
546546
</para>
547547

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp