Re: [HACKERS] Waiting for archive to complete

2007-06-25 Thread Simon Riggs
On Mon, 2007-06-25 at 18:14 -0400, Tom Lane wrote: > "Simon Riggs" <[EMAIL PROTECTED]> writes: > > A simple solution is to introduce a new function: > > > pg_archive_wait(integer maxwait); > > maxwait = 0 means wait forever, otherwise time measured in seconds. > > maxwait is redundant; people who

Re: [HACKERS] Waiting for archive to complete

2007-06-25 Thread Tom Lane
"Simon Riggs" <[EMAIL PROTECTED]> writes: > A simple solution is to introduce a new function: > pg_archive_wait(integer maxwait); > maxwait = 0 means wait forever, otherwise time measured in seconds. maxwait is redundant; people who want a timeout should use statement_timeout. > This will get th