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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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 Content-Type Size
backup-shut.doc.patch application/octet-stream 4.2 KB
backup-shut.patch application/octet-stream 3.9 KB

Responses

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

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