pgsql: Fix bug where pg_receivexlog goes into busy loop if -s option is - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Fix bug where pg_receivexlog goes into busy loop if -s option is
Date
Msg-id E1XACmX-0001Bb-DE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix bug where pg_receivexlog goes into busy loop if -s option is set to 0.

The problem is that pg_receivexlog calls select(2) with timeout=0 and
goes into busy loop when --status-interval option is set to 0. This bug
was introduced by the commit,
74cbe966fe2d76de1d607d933c98c144dab58769.

Per report from Sawada Masahiko

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/78493b716802cbe632d36c85f0d7c3bdb708e045

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix TAP installcheck tests when current directory name contains
Next
From: Robert Haas
Date:
Subject: pgsql: docs: Improve documentation of \pset without arguments.