git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f66c20b) | patch
Fix bug in the test of file descriptor of current WAL file in pg_receivexlog.
2014年11月19日 10:10:04 +0000 (19:10 +0900)
2014年11月19日 10:10:04 +0000 (19:10 +0900)
commit d5f4df7264ec73abda41eb78b81cf430b33f7606
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
src/bin/pg_basebackup/receivelog.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /