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
345fb82f
Commit
345fb82f
authored
Dec 20, 2012
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pg_upgrade comment about mismatch error
Add comment stating that constraint and index names must match.
parent
e43f947b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
contrib/pg_upgrade/info.c
contrib/pg_upgrade/info.c
+3
-0
No files found.
contrib/pg_upgrade/info.c
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
||
...
...
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