-
- Downloads
Adjust signature of walrcv_receive hook.
Commit 314cbfc5 redefined the signature of this hook as typedef int (*walrcv_receive_type) (char **buffer, int *wait_fd); But in fact the type of the "wait_fd" variable ought to be pgsocket, which is what WaitLatchOrSocket expects, and which is necessary if we want to be able to assign PGINVALID_SOCKET to it on Windows. So fix that.
Showing
- src/backend/replication/README 2 additions, 2 deletionssrc/backend/replication/README
- src/backend/replication/libpqwalreceiver/libpqwalreceiver.c 3 additions, 3 deletionssrc/backend/replication/libpqwalreceiver/libpqwalreceiver.c
- src/backend/replication/walreceiver.c 1 addition, 1 deletionsrc/backend/replication/walreceiver.c
- src/include/replication/walreceiver.h 1 addition, 1 deletionsrc/include/replication/walreceiver.h
Loading
Please register or sign in to comment