diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-04-17 18:55:05 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-04-17 18:55:05 +0000 |
commit | 0a8739495664d02af82a08960cfd17fad2cb9508 (patch) | |
tree | bbd1243e6961d38ba834768ec1ed6ca392ed9854 /src/backend/tcop/postgres.c | |
parent | 8e7aaeb62e7ff1ea6c7668e39277411d150ccf33 (diff) | |
download | postgresql-0a8739495664d02af82a08960cfd17fad2cb9508.tar.gz postgresql-0a8739495664d02af82a08960cfd17fad2cb9508.zip |
Fix the torn-page hazard for PITR base backups by forcing full page writes
to occur between pg_start_backup() and pg_stop_backup(), even if the GUC
setting full_page_writes is OFF. Per discussion, doing this in combination
with the already-existing checkpoint during pg_start_backup() should ensure
safety against partial page updates being included in the backup. We do
not have to force full page writes to occur during normal PITR operation,
as I had first feared.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions