Fix the archive_ready action
authorNicolas Thauvin <[email protected]>
Mon, 27 Jun 2011 14:55:06 +0000 (16:55 +0200)
committerGuillaume Lelarge <[email protected]>
Mon, 27 Jun 2011 14:59:27 +0000 (16:59 +0200)
commitccfbebf822895ab25a41c882b0e50cf181dfcc57
treed8b8ccbc28cba9f427e34e487db0a899fef5cc25
parentd6da997978e8dda4a831f7e3c930f8d006b656dd
Fix the archive_ready action

The .ready files are not in the pg_xlog directory, but in the
pg_xlog/archive_ready one. This patch adds another argument to the
check_wal_files() function so that it could find the subdirectory in which it
has to look for files.
check_postgres.pl