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

Improve shutdown during online backup

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
Date: 2008-04-01 13:34:17
Message-ID: D960CB61B694CF459DCFB4B0128514C201ED284B@exadv11.host.magwien.gv.at (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
This follows up on the discussion in
http://archives.postgresql.org/pgsql-hackers/2008-03/msg01033.php

- pg_ctl will refuse a smart shutdown during online backup.
- The postmaster will also refuse to shutdown in smart mode
  in that case and log a message to that effect.
- In fast shutdown mode, the server will rename "backup_label"
  after successfully shutting down and log the fact.

Yours,
Laurenz Albe

Attachment: backup-shut.patch
Description: application/octet-stream (3.9 KB)
Attachment: backup-shut.doc.patch
Description: application/octet-stream (4.2 KB)

Responses

pgsql-hackers by date

Next:From: Mike AuburyDate: 2008-04-01 13:39:19
Subject: Scroll cursor oddity...
Previous:From: Stephen FrostDate: 2008-04-01 13:29:03
Subject: Re: New boxes available for QA

pgsql-patches by date

Next:From: Bernd HelmleDate: 2008-04-01 14:36:34
Subject: psql command aliases support
Previous:From: tomasDate: 2008-04-01 12:02:14
Subject: Re: [HACKERS] Avahi support for Postgresql

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