summaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-12-03 15:57:48 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-12-03 15:58:00 +0200
commit8b5c353ecec81102680ba6ab82ce73961dd266a1 (patch)
treead036cad31c678a91ec07b2ff5f7dd6b448347b9 /src/tutorial/syscat.source
parentd98e27dc6e41c911277812c46664d240c3eeba0e (diff)
Fix pg_rewind bugs when rewinding a standby server.
If the target is a standby server, its WAL doesn't end at the last checkpoint record, but at minRecoveryPoint. We must scan all the WAL from the last common checkpoint all the way up to minRecoveryPoint for modified pages, and also consider that portion when determining whether the server needs rewinding. Backpatch to all supported versions. Author: Ian Barwick and me Discussion: https://www.postgresql.org/message-id/CABvVfJU-LDWvoz4-Yow3Ay5LZYTuPD7eSjjE4kGyNZpXC6FrVQ%40mail.gmail.com
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions