Improve shutdown during online backup, take 2

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Improve shutdown during online backup, take 2
Date: 2008-04-09 12:58:38
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

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 Content-Type Size
backup-shut.doc.patch application/octet-stream 3.2 KB
backup-shut.patch application/octet-stream 6.9 KB


Browse pgsql-patches by date

  From Date Subject
Next Message Michael Meskes 2008-04-09 13:09:58 Re: [PATCHES] libpq type system 0.9a
Previous Message Andrew Chernow 2008-04-09 12:35:11 Re: [PATCHES] libpq type system 0.9a