Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> OK, I'm on it.
What solution have you got in mind? I was thinking about an fcntl lock
to ensure only one archiver is active in a given data directory. That
would fix the problem without affecting anything outside the archiver.
Not sure what's the most portable way to do it though.
regards, tom lane