pgsql: Fix pq_putmessage_noblock() to not block.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pq_putmessage_noblock() to not block.
Date: 2016-07-29 16:53:08
Message-ID: E1bTB24-0005mA-9k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pq_putmessage_noblock() to not block.

An evident copy-and-pasteo in commit 2bd9e412f broke the non-blocking
aspect of pq_putmessage_noblock(), causing it to behave identically to
pq_putmessage(). That function is nowadays used only in walsender.c,
so that the net effect was to cause walsenders to hang up waiting for
the receiver in situations where they should not.

Kyotaro Horiguchi

Patch: <20160728(dot)185228(dot)58375982(dot)horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/80b346c2084928c11b6f9e495a7e9d559d96703d

Modified Files
--------------
src/include/libpq/libpq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-07-29 18:13:26 pgsql: Fix tqueue.c's range-remapping code.
Previous Message Robert Haas 2016-07-29 16:08:37 pgsql: Eliminate a few more user-visible "cache lookup failed" errors.