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
Message-ID: D960CB61B694CF459DCFB4B0128514C201FA5B1C@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This patch replaces the previous version
http://archives.postgresql.org/pgsql-patches/2008-04/msg00004.php

As suggested by Simon Riggs in
http://archives.postgresql.org/pgsql-patches/2008-04/msg00013.php ,
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
http://archives.postgresql.org/pgsql-patches/2008-04/msg00180.php ,
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.

Yours,
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

Responses

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