Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
8f87dcd8
Commit
8f87dcd8
authored
14 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update new pg_upgrade comment about pre-8.4 TOAST tables.
parent
9e5bed2d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/pg_upgrade/info.c
+5
-1
5 additions, 1 deletion
contrib/pg_upgrade/info.c
with
5 additions
and
1 deletion
contrib/pg_upgrade/info.c
+
5
−
1
View file @
8f87dcd8
...
...
@@ -54,7 +54,11 @@ gen_db_file_maps(DbInfo *old_db, DbInfo *new_db,
pg_log
(
PG_FATAL
,
"Mismatch of relation id: database
\"
%s
\"
, old relid %d, new relid %d
\n
"
,
old_db
->
db_name
,
old_rel
->
reloid
,
new_rel
->
reloid
);
/* toast names were not renamed to match their relfilenodes in pre-8.4 */
/*
* In pre-8.4, TOAST table names change during CLUSTER; in >= 8.4
* TOAST relation names always use the heap tables oid, hence we
* cannot check relation names when upgrading from pre-8.4.
*/
if
(
GET_MAJOR_VERSION
(
old_cluster
.
major_version
)
>=
804
&&
(
strcmp
(
old_rel
->
nspname
,
new_rel
->
nspname
)
!=
0
||
strcmp
(
old_rel
->
relname
,
new_rel
->
relname
)
!=
0
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment