Re: [HACKERS] Pause at end of recovery

2012-01-26 Thread Fujii Masao
On Fri, Jan 27, 2012 at 12:50 AM, Magnus Hagander wrote: >> One idea; starting archive recovery with standby_mode=on meets your needs? > > I haven't tested, but probably, yes. But in that case, why do we need > the pause_at_recovery_target *at all*? It's basically overloaded > functionality alread

Re: [HACKERS] Pause at end of recovery

2012-01-26 Thread Magnus Hagander
On Thu, Jan 26, 2012 at 08:42, Fujii Masao wrote: > On Wed, Dec 28, 2011 at 7:27 PM, Simon Riggs wrote: >> On Thu, Dec 22, 2011 at 6:16 AM, Simon Riggs wrote: >> >>> I can see a reason to do this now. I've written patch and will commit >>> on Friday. Nudge me if I don't. >> >> It's hard to write

Re: [HACKERS] Pause at end of recovery

2012-01-25 Thread Fujii Masao
On Wed, Dec 28, 2011 at 7:27 PM, Simon Riggs wrote: > On Thu, Dec 22, 2011 at 6:16 AM, Simon Riggs wrote: > >> I can see a reason to do this now. I've written patch and will commit >> on Friday. Nudge me if I don't. > > It's hard to write this so it works in all cases and doesn't work in > the ri

Re: [HACKERS] Pause at end of recovery

2011-12-28 Thread Simon Riggs
On Thu, Dec 22, 2011 at 6:16 AM, Simon Riggs wrote: > I can see a reason to do this now. I've written patch and will commit > on Friday. Nudge me if I don't. It's hard to write this so it works in all cases and doesn't work in the right cases also. Basically, we can't get in the way of crash re

Re: [HACKERS] Pause at end of recovery

2011-12-21 Thread Simon Riggs
On Wed, Dec 21, 2011 at 12:04 PM, Magnus Hagander wrote: > On Tue, Dec 20, 2011 at 18:15, Simon Riggs wrote: >> On Tue, Dec 20, 2011 at 1:40 PM, Magnus Hagander wrote: >>> These days we have pause_at_recovery_target, which lets us pause when >>> we reach a PITR target. Is there a particular reas

Re: [HACKERS] Pause at end of recovery

2011-12-21 Thread Magnus Hagander
On Tue, Dec 20, 2011 at 18:15, Simon Riggs wrote: > On Tue, Dec 20, 2011 at 1:40 PM, Magnus Hagander wrote: >> These days we have pause_at_recovery_target, which lets us pause when >> we reach a PITR target. Is there a particular reason we don't have a >> way to pause at end of recovery if we *di

Re: [HACKERS] Pause at end of recovery

2011-12-20 Thread Simon Riggs
On Tue, Dec 20, 2011 at 1:40 PM, Magnus Hagander wrote: > These days we have pause_at_recovery_target, which lets us pause when > we reach a PITR target. Is there a particular reason we don't have a > way to pause at end of recovery if we *didn't* specify a target - > meaning we let it run until t