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
345fb82f
Commit
345fb82f
authored
12 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Add pg_upgrade comment about mismatch error
Add comment stating that constraint and index names must match.
parent
e43f947b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/pg_upgrade/info.c
+3
-0
3 additions, 0 deletions
contrib/pg_upgrade/info.c
with
3 additions
and
0 deletions
contrib/pg_upgrade/info.c
+
3
−
0
View file @
345fb82f
...
@@ -61,6 +61,9 @@ gen_db_file_maps(DbInfo *old_db, DbInfo *new_db,
...
@@ -61,6 +61,9 @@ gen_db_file_maps(DbInfo *old_db, DbInfo *new_db,
* 9.0, TOAST relation names always use heap table oids, hence we
* 9.0, TOAST relation names always use heap table oids, hence we
* cannot check relation names when upgrading from pre-9.0. Clusters
* cannot check relation names when upgrading from pre-9.0. Clusters
* upgraded to 9.0 will get matching TOAST names.
* upgraded to 9.0 will get matching TOAST names.
* If index names don't match primary key constraint names, this will
* fail because pg_dump dumps constraint names and pg_upgrade checks
* index names.
*/
*/
if
(
strcmp
(
old_rel
->
nspname
,
new_rel
->
nspname
)
!=
0
||
if
(
strcmp
(
old_rel
->
nspname
,
new_rel
->
nspname
)
!=
0
||
((
GET_MAJOR_VERSION
(
old_cluster
.
major_version
)
>=
900
||
((
GET_MAJOR_VERSION
(
old_cluster
.
major_version
)
>=
900
||
...
...
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