forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit78f91f1
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 parent7900e94 commit78f91f1
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
919 | 919 |
| |
920 | 920 |
| |
921 | 921 |
| |
922 |
| - | |
| 922 | + | |
923 | 923 |
| |
924 | 924 |
| |
925 | 925 |
| |
|
0 commit comments
Comments
(0)