Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
65b96714
Commit
65b96714
authored
Mar 05, 2014
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg_upgrade: improve C comment about what old/new oids match
parent
dd917bb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.c
+6
-7
No files found.
contrib/pg_upgrade/pg_upgrade.c
View file @
65b96714
...
@@ -15,13 +15,12 @@
...
@@ -15,13 +15,12 @@
* oids are the same between old and new clusters. This is important
* oids are the same between old and new clusters. This is important
* because toast oids are stored as toast pointers in user tables.
* because toast oids are stored as toast pointers in user tables.
*
*
* FYI, while pg_class.oid and pg_class.relfilenode are initially the same
* While pg_class.oid and pg_class.relfilenode are initially the same
* in a cluster, but they can diverge due to CLUSTER, REINDEX, or VACUUM
* in a cluster, they can diverge due to CLUSTER, REINDEX, or VACUUM
* FULL. The new cluster will have matching pg_class.oid and
* FULL. In the new cluster, pg_class.oid and pg_class.relfilenode will
* pg_class.relfilenode values and be based on the old oid value. This can
* be the same and will match the old pg_class.oid value. Because of
* cause the old and new pg_class.relfilenode values to differ. In summary,
* this, old/new pg_class.relfilenode values will not match if CLUSTER,
* old and new pg_class.oid and new pg_class.relfilenode will have the
* REINDEX, or VACUUM FULL have been performed in the old cluster.
* same value, and old pg_class.relfilenode might differ.
*
*
* We control all assignments of pg_type.oid because these oids are stored
* We control all assignments of pg_type.oid because these oids are stored
* in user composite type values.
* in user composite type values.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment