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

2014-07-23 Thread Fujii Masao
On Wed, Jul 16, 2014 at 2:29 AM, Sawada Masahiko wrote: > On Tue, Jul 15, 2014 at 7:38 PM, Fujii Masao wrote: >> On Thu, Jul 10, 2014 at 11:10 PM, Sawada Masahiko >> wrote: >>> Hi, >>> >>> At 1047 line of receivelog.c:CopyStreamPoll(), we set NULL to >>> timeoutptr variable. >>> if the value of

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

2014-07-22 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) > >> timeou

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 wrote: > On Thu, Jul 10, 2014 at 11:10 PM, Sawada Masahiko > 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 re

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 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 following. > > if (t

[HACKERS] timeout of pg_receivexlog --status-interval

2014-07-10 Thread Sawada Masahiko
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 { timeout