summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/pgp-mpi-internal.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2014-01-08 21:06:03 +0000
committerHeikki Linnakangas2014-01-08 21:28:52 +0000
commit3739e5ab93afb21b69da2e42f6e161ef63aa95c8 (patch)
treec457de0aee055ef05eaf355772e082eceba3f68b /contrib/pgcrypto/pgp-mpi-internal.c
parent815d71deed5df2a91b06da76edbe5bc64965bfea (diff)
Fix pause_at_recovery_target + recovery_target_inclusive combination.
If pause_at_recovery_target is set, recovery pauses *before* applying the target record, even if recovery_target_inclusive is set. If you then continue with pg_xlog_replay_resume(), it will apply the target record before ending recovery. In other words, if you log in while it's paused and verify that the database looks OK, ending recovery changes its state again, possibly destroying data that you were tring to salvage with PITR. Backpatch to 9.1, this has been broken since pause_at_recovery_target was added.
Diffstat (limited to 'contrib/pgcrypto/pgp-mpi-internal.c')
0 files changed, 0 insertions, 0 deletions