aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-03-30 10:36:58 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-03-30 10:53:47 +0300
commiteff933531e7f7d98ba02402c7821b0b7ea8f1d97 (patch)
tree99f2af861a4a9c0407e7ff26c6a9f4def685d1ac /src/backend/tcop/postgres.c
parentce3b0ab0c327b2e3efa44342ad8de3256806cf84 (diff)
downloadpostgresql-eff933531e7f7d98ba02402c7821b0b7ea8f1d97.tar.gz
postgresql-eff933531e7f7d98ba02402c7821b0b7ea8f1d97.zip
Check that we've reached end-of-backup also when we're not performing
archive recovery. It's possible to restore an online backup without recovery.conf, by simply copying all the necessary WAL files to pg_xlog. "pg_basebackup -x" does that too. That's the use case where this cross-check is useful. Backpatch to 9.0. We used to do this in earlier versins, but in 9.0 the code was inadvertently changed so that the check is only performed after archive recovery. Fujii Masao.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions