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

Commit3095643

Browse files
committed
Simplify pg_upgrade C comment about what is preserved.
1 parentf75383e commit3095643

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

‎contrib/pg_upgrade/pg_upgrade.c

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,16 @@
1515
*oids are the same between old and new clusters. This is important
1616
*because toast oids are stored as toast pointers in user tables.
1717
*
18-
*The only place where old/new relfilenode might not match is
19-
*pg_largeobject, pg_largeobject_metadata, and its indexes,
20-
*which can change their relfilenode values due to a cluster, reindex,
21-
*or vacuum full. (We don't create those so have no control over their
22-
*new relfilenode values.)
23-
*
2418
*FYI, while pg_class.oid and pg_class.relfilenode are intially the same
25-
*in a cluster, but they can diverge due tocluster, reindex, orvacuum
26-
*full. The new cluster willagainhave matching pg_class.relfilenode
27-
*andpg_class.oid values, butbased on the oldrelfilenode value, so the
28-
*old/newoids might differ.
19+
*in a cluster, but they can diverge due toCLUSTER, REINDEX, orVACUUM
20+
*FULL. The new cluster will have matching pg_class.oid and
21+
*pg_class.relfilenode values and bebased on the oldoid value. This can
22+
*cause theold andnewpg_class.relfilenode values to differ.
2923
*
30-
*We control all assignments of pg_type.oid because theseoid are stored
24+
*We control all assignments of pg_type.oid because theseoids are stored
3125
*in user composite type values.
3226
*
33-
*We control all assignments of pg_enum.oid because theseoid are stored
27+
*We control all assignments of pg_enum.oid because theseoids are stored
3428
*in user tables as enum values.
3529
*/
3630

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp