OSDN Git Service

Only recycle normal files in pg_xlog as WAL segments. pg_standby creates
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Jun 2009 06:18:06 +0000 (06:18 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Jun 2009 06:18:06 +0000 (06:18 +0000)
commit7c8d7a2eec1bc1aa1332a5b6a6d3d03c594dc6cd
treea62ce6e078ce0b284c51cca8c1809062c3a65dbe
parentdb020733059dd6eb3fa400dd8d80bfad0d19c71f
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