Re: [HACKERS] timeout of pg_receivexlog --status-interval

2014-07-24 Thread Fujii Masao
On Wed, Jul 16, 2014 at 2:29 AM, Sawada Masahiko sawada.m...@gmail.com wrote: On Tue, Jul 15, 2014 at 7:38 PM, Fujii Masao masao.fu...@gmail.com wrote: On Thu, Jul 10, 2014 at 11:10 PM, Sawada Masahiko sawada.m...@gmail.com wrote: Hi, At 1047 line of receivelog.c:CopyStreamPoll(), we set

Re: [HACKERS] timeout of pg_receivexlog --status-interval

2014-07-23 Thread furuyao
Hi, At 1047 line of receivelog.c:CopyStreamPoll(), we set NULL to timeoutptr variable. if the value of timeoutprt is set NULL then the process will wait until can read socket using by select() function as following. if (timeout_ms 0) timeoutptr = NULL; else

Re: [HACKERS] timeout of pg_receivexlog --status-interval

2014-07-15 Thread Fujii Masao
On Thu, Jul 10, 2014 at 11:10 PM, Sawada Masahiko sawada.m...@gmail.com wrote: Hi, At 1047 line of receivelog.c:CopyStreamPoll(), we set NULL to timeoutptr variable. if the value of timeoutprt is set NULL then the process will wait until can read socket using by select() function as

Re: [HACKERS] timeout of pg_receivexlog --status-interval

2014-07-15 Thread Sawada Masahiko
On Tue, Jul 15, 2014 at 7:38 PM, Fujii Masao masao.fu...@gmail.com wrote: On Thu, Jul 10, 2014 at 11:10 PM, Sawada Masahiko sawada.m...@gmail.com wrote: Hi, At 1047 line of receivelog.c:CopyStreamPoll(), we set NULL to timeoutptr variable. if the value of timeoutprt is set NULL then the