- Notifications
You must be signed in to change notification settings - Fork5
Commitd5f4df7
committed
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 isbeing opened or not, its file descriptor has to be checked against -1as an invalid value. But, oops, 7900e94 added the incorrect testchecking the descriptor against 1. This commit fixes that bug.Back-patch to 9.4 where the bug was added.Spotted by Magnus Hagander1 parentf66c20b commitd5f4df7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | | - | |
| 1024 | + | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
| |||
0 commit comments
Comments
(0)