Re: pg_stop_backup does not complete - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: pg_stop_backup does not complete
Date
Msg-id C32B5D9B-A768-4AE2-B69C-4E2ABF3B8F3D@kineticode.com
Whole thread Raw
In response to Re: pg_stop_backup does not complete  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Feb 24, 2010, at 12:47 PM, Tom Lane wrote:

>> OK, so we need a way out of that cycle if the user is issuing
>> pg_stop_backup because they *already know* that archive_command is
>> failing.  Right now, there's no way out other than a fast shutdown,
>> which is a bit user-hostile.
> 
> The pg_abort_backup() operation previously proposed seems like the only
> workable compromise.  Simon is quite right to not want pg_stop_backup()
> to behave in a way that could contribute to data loss; but on the other
> hand there needs to be some clear way to get the system out of that
> state at need.

+1 makes sense.

David



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_stop_backup does not complete
Next
From: Greg Smith
Date:
Subject: Re: pg_stop_backup does not complete