Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: backup-shut.patch
Description: application/octet-stream (6.9 KB)
Attachment: backup-shut.doc.patch
Description: application/octet-stream (3.2 KB)

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group