]> granicus.if.org Git - postgresql/commit
Check for partial WAL files in standby mode. If restore_command restores
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 12 Feb 2010 07:36:44 +0000 (07:36 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 12 Feb 2010 07:36:44 +0000 (07:36 +0000)
commit9fa01f6c8acbae4568f5e7b3d682235dd67c3a74
treea97ff53c2cbe1a4358362faaff5813c8a6f80c83
parent7e30c0067cffca642c3ced975a0e1814e86191b1
Check for partial WAL files in standby mode. If restore_command restores
a partial WAL file, assume it's because the file is just being copied to
the archive and treat it the same as "file not found" in standby mode.
pg_standby has a similar check, so it seems reasonable to have the same
level of protection in the built-in standby mode.
src/backend/access/transam/xlog.c