Re: Improve shutdown during online backup, take 4 - Mailing list pgsql-patches

From Tom Lane
Subject Re: Improve shutdown during online backup, take 4
Date
Msg-id 29592.1209052587@sss.pgh.pa.us
Whole thread Raw
In response to Re: Improve shutdown during online backup, take 4  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: Improve shutdown during online backup, take 4  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-patches
"Albe Laurenz" <laurenz.albe@wien.gv.at> writes:
> Tom Lane wrote:
>> Why not?  It'll fall out of the state again immediately in
>> PostmasterStateMachine, no, if we do a CancelBackup here?

> We cannot call CancelBackup there because that's exactly the state
> in which a smart shutdown waits for a superuser to issue pg_stop_backup().

Er, I was complaining about the fast-shutdown code path, not the
smart-shutdown one.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Improve shutdown during online backup, take 4
Next
From: Bruce Momjian
Date:
Subject: Re: 64-bit CommandIds