diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-11-19 19:11:03 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2014-11-19 19:11:03 +0900 |
commit | 78f91f1a888008f329b1a6db673713d25bbd819b (patch) | |
tree | 9101d4510e673cacbf056967a48dfe4aace0e02d /contrib/postgres_fdw/sql/postgres_fdw.sql | |
parent | 7900e94fbb2d36fe798f2deda56d71071957c0e0 (diff) | |
download | postgresql-78f91f1a888008f329b1a6db673713d25bbd819b.tar.gz postgresql-78f91f1a888008f329b1a6db673713d25bbd819b.zip |
Fix bug in the test of file descriptor of current WAL file in pg_receivexlog.
In pg_receivexlog, in order to check whether the current WAL file is
being opened or not, its file descriptor has to be checked against -1
as an invalid value. But, oops, 7900e94 added the incorrect test
checking the descriptor against 1. This commit fixes that bug.
Back-patch to 9.4 where the bug was added.
Spotted by Magnus Hagander
Diffstat (limited to 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions