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


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-2017 The PostgreSQL Global Development Group