Only recycle normal files in pg_xlog as WAL segments. pg_standby creates
authorHeikki Linnakangas <heikki@enterprisedb.com>
Tue, 2 Jun 2009 06:18:06 +0000 (06:18 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Tue, 2 Jun 2009 06:18:06 +0000 (06:18 +0000)
commitdd7bc3cf859497b6c48874c23899fc0bf8d577a8
tree26ab1a2cded963f9e0ffb0a6197e733e9f914c87
parent976f3c65ef26d54770835b446a35e22d787d12fd
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