pgsql: Error out if waiting on socket readiness without a specified soc - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Error out if waiting on socket readiness without a specified soc
Date
Msg-id E1agzUL-0007Sx-Vt@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6bc4d95fcc2a432fc202cba03d5393be096f0422

Modified Files
--------------
src/backend/port/unix_latch.c  | 9 +++++----
src/backend/port/win32_latch.c | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Only clear latch self-pipe/event if there is a pending notificat
Next
From: Robert Haas
Date:
Subject: pgsql: Use INT64_FORMAT instead of %ld for int64.