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

From Joshua D. Drake
Subject Re: pg_stop_backup does not complete
Date
Msg-id 1266955746.1766.106.camel@jd-desktop.iso-8859-1.charter.com
Whole thread Raw
In response to Re: pg_stop_backup does not complete  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, 2010-02-23 at 14:49 -0500, Robert Haas wrote:

> > If I issue a shutdown, PostgreSQL should do whatever it needs to do to
> > shutdown; including issuing a pg_stop_backup.
> 
> Maybe.  But for sure, if it doesn't, and instead tells the user to
> issue pg_stop_backup(), then pg_stop_backup() had better WORK when the
> user tries to execute it.

Right.

>   I gather that the problem is that it has to
> finish all that outstanding archiving before shutting down, in which
> case Kevin's suggestion of having a command to abort the backup seems
> reasonable.  I might call it pg_abort_backup() rather than
> pg_fail_backup(), but...
> 

But...?

Joshua D. Drake


> ...Robert
> 


-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
Respect is earned, not gained through arbitrary and repetitive use or Mr. or Sir.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: auto_explain log_verbose causes regression failure
Next
From: Tom Lane
Date:
Subject: Re: function side effects