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
3095643d
Commit
3095643d
authored
Jan 07, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify pg_upgrade C comment about what is preserved.
parent
f75383e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.c
+6
-12
No files found.
contrib/pg_upgrade/pg_upgrade.c
View file @
3095643d
...
@@ -15,22 +15,16 @@
...
@@ -15,22 +15,16 @@
* 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.
*
*
* The only place where old/new relfilenode might not match is
* pg_largeobject, pg_largeobject_metadata, and its indexes,
* which can change their relfilenode values due to a cluster, reindex,
* or vacuum full. (We don't create those so have no control over their
* new relfilenode values.)
*
* FYI, while pg_class.oid and pg_class.relfilenode are intially the same
* FYI, while pg_class.oid and pg_class.relfilenode are intially the same
* in a cluster, but they can diverge due to
cluster, reindex, or vacuum
* in a cluster, but they can diverge due to
CLUSTER, REINDEX, or VACUUM
*
full. The new cluster will again have matching pg_class.relfilenode
*
FULL. The new cluster will have matching pg_class.oid and
*
and pg_class.oid values, but based on the old relfilenode value, so the
*
pg_class.relfilenode values and be based on the old oid value. This can
*
old/new oids might
differ.
*
cause the old and new pg_class.relfilenode values to
differ.
*
*
* We control all assignments of pg_type.oid because these oid are stored
* We control all assignments of pg_type.oid because these oid
s
are stored
* in user composite type values.
* in user composite type values.
*
*
* We control all assignments of pg_enum.oid because these oid are stored
* We control all assignments of pg_enum.oid because these oid
s
are stored
* in user tables as enum values.
* in user tables as enum 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