]> granicus.if.org Git - postgresql/commit
Only recycle normal files in pg_xlog as WAL segments. pg_standby creates
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Jun 2009 06:19:41 +0000 (06:19 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Jun 2009 06:19:41 +0000 (06:19 +0000)
commitc0dd9f7a3c54f9d853699a9c173bf3b757a15c3b
treebfd9f2a8b60363112101bf178433921a7d811c6c
parent6b4a3a77001e79e08752d3115546810f7cd2fb62
Only recycle normal files in pg_xlog as WAL segments. pg_standby creates
symbolic links with the -l option, and as Fujii Masao pointed out we ended up
overwriting files in the archive directory before this patch. Patch by
Aidan Van Dyk, Fujii Masao and me.

Backpatch to 8.3, where pg_standby was introduced.
src/backend/access/transam/xlog.c