Error out if waiting on socket readiness without a specified socket.
Andres Freund <andres@anarazel.de>
Error out if waiting on socket readiness without a specified socket.
Previously we just ignored such an attempt, but that seems to serve no
purpose but making things harder to debug.
Discussion: 20160114143931.GG10941@awork2.anarazel.de
20151230173734.hx7jj2fnwyljfqek@alap3.anarazel.de
Reviewed-By: Robert Haas
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/port/unix_latch.c | modified | +5 −4 |
| src/backend/port/win32_latch.c | modified | +5 −4 |