]> granicus.if.org Git - postgresql/commit
Fix bug where pg_receivexlog goes into busy loop if -s option is set to 0.
authorFujii Masao <fujii@postgresql.org>
Thu, 24 Jul 2014 06:25:26 +0000 (15:25 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 24 Jul 2014 06:25:26 +0000 (15:25 +0900)
commit78493b716802cbe632d36c85f0d7c3bdb708e045
tree68ecda960c78b6a8f10f0644345acb2ec6695fcd
parent455044d55a89d16d888f289aeaf1229a04a04b9f
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
src/bin/pg_basebackup/receivelog.c