Error out if waiting on socket readiness without a specified socket.

Andres Freund <andres@anarazel.de>

Commit: 6bc4d95fcc2a432fc202cba03d5393be096f0422
Author: Andres Freund <andres@anarazel.de>
Date: 2016-03-18T18:46:45Z
Releases: 9.6.0
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

PathChange+/−
src/backend/port/unix_latch.c modified +5 −4
src/backend/port/win32_latch.c modified +5 −4