Content-Length: 258150 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6eb2be15b5d24b98d334a9dd637f0edb37e2eb7e

DC Fix stupid omission in c4901a1e. · postgrespro/postgres_cluster@6eb2be1 · GitHub
Skip to content

Commit 6eb2be1

Browse files
committed
Fix stupid omission in c4901a1.
Reported-By: Jeff Janes Discussion: CAMkU=1zGxREwoyaCrp_CHadEB+dPgpVyKBysCJ+6xP9gCOvAuw@mail.gmail.com
1 parent 07aed46 commit 6eb2be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/port/unix_latch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ WaitLatchOrSocket(volatile Latch *latch, int wakeEvents, pgsocket sock,
389389
/* socket is writable */
390390
result |= WL_SOCKET_WRITEABLE;
391391
}
392-
if ((wakeEvents & WL_SOCKET_WRITEABLE) &&
392+
if ((wakeEvents & (WL_SOCKET_READABLE | WL_SOCKET_WRITEABLE)) &&
393393
(pfds[1].revents & (POLLHUP | POLLERR | POLLNVAL)))
394394
{
395395
/* EOF/error condition */

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6eb2be15b5d24b98d334a9dd637f0edb37e2eb7e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy