email(at)piotr-stefaniak(dot)me writes:
> We have an archive-only replicating standby. During intensive WAL replay, it
> sometimes happens that the standby will say "58P02: could not link file
> "pg_xlog/[...]" to "pg_xlog/[...]": File exists" as in the example below. It
> looks like some kind of race condition.
This is normal I believe; in any case it looks pretty harmless, since
RemoveXlogFile will just remove the file if it fails to recycle it
as a future xlog segment.
regards, tom lane