summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-11-19 19:10:04 +0900
committerFujii Masao <fujii@postgresql.org>2014-11-19 19:10:04 +0900
commitd5f4df7264ec73abda41eb78b81cf430b33f7606 (patch)
treeac3b1ae7d758c0f7ebfbc7d73c73bca0857de96b /src/backend/access/gist/gist.c
parentf66c20b317578838a39a1de8014c4363bdc98b9a (diff)
downloadpostgresql-d5f4df7264ec73abda41eb78b81cf430b33f7606.tar.gz
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 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions