This patch replaces the previous version

As suggested by Simon Riggs in ,
a smart shutdown will now wait for online backup mode to finish.
The functions that touch "backup_label" have been moved to xlog.c.

As suggested by Heikki Linnakangas in ,
I have introduced a new postmaster state PM_WAIT_BACKUP.
In this state the postmaster will still accept connections.

Thanks for the feedback!
I'll try to add a link at the Wiki page.

Laurenz Albe

Attachment: backup-shut.doc.patch
Description: backup-shut.doc.patch

Attachment: backup-shut.patch
Description: backup-shut.patch

Sent via pgsql-patches mailing list (
To make changes to your subscription:

Reply via email to