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
2494a9af
Commit
2494a9af
authored
12 years ago
by
Alvaro Herrera
Browse files
Options
Downloads
Patches
Plain Diff
Don't require oldestMultixact if server doesn't have it
parent
6772c1e5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/pg_upgrade/controldata.c
+3
-2
3 additions, 2 deletions
contrib/pg_upgrade/controldata.c
with
3 additions
and
2 deletions
contrib/pg_upgrade/controldata.c
+
3
−
2
View file @
2494a9af
...
@@ -469,7 +469,8 @@ get_control_data(ClusterInfo *cluster, bool live_check)
...
@@ -469,7 +469,8 @@ get_control_data(ClusterInfo *cluster, bool live_check)
/* verify that we got all the mandatory pg_control data */
/* verify that we got all the mandatory pg_control data */
if
(
!
got_xid
||
!
got_oid
||
if
(
!
got_xid
||
!
got_oid
||
!
got_multi
||
!
got_mxoff
||
!
got_oldestmulti
||
!
got_multi
||
!
got_mxoff
||
(
!
got_oldestmulti
&&
GET_MAJOR_VERSION
(
cluster
->
major_version
)
>=
903
)
||
(
!
live_check
&&
!
got_nextxlogfile
)
||
(
!
live_check
&&
!
got_nextxlogfile
)
||
!
got_tli
||
!
got_tli
||
!
got_align
||
!
got_blocksz
||
!
got_largesz
||
!
got_walsz
||
!
got_align
||
!
got_blocksz
||
!
got_largesz
||
!
got_walsz
||
...
@@ -492,7 +493,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
...
@@ -492,7 +493,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
if
(
!
got_mxoff
)
if
(
!
got_mxoff
)
pg_log
(
PG_REPORT
,
" latest checkpoint next MultiXactOffset
\n
"
);
pg_log
(
PG_REPORT
,
" latest checkpoint next MultiXactOffset
\n
"
);
if
(
!
got_oldestmulti
)
if
(
!
got_oldestmulti
&&
GET_MAJOR_VERSION
(
cluster
->
major_version
)
>=
903
)
pg_log
(
PG_REPORT
,
" latest checkpoint oldest MultiXactId
\n
"
);
pg_log
(
PG_REPORT
,
" latest checkpoint oldest MultiXactId
\n
"
);
if
(
!
live_check
&&
!
got_nextxlogfile
)
if
(
!
live_check
&&
!
got_nextxlogfile
)
...
...
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