Re: Wierd quirk of HS/SR, probably not fixable

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Wierd quirk of HS/SR, probably not fixable
Date: 2010-04-27 13:51:36
Message-ID: 1859.1272376296@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes:
> Hmm, we could throw an error in the standby, when we see a shutdown
> checkpoint while we're waiting for an end-backup record. If the database
> was shut down before pg_stop_backup(), we know that the backup was
> cancelled and the end-backup record we're waiting for will never arrive.

Isn't the above statement complete nonsense? There's nothing to stop
the DBA from issuing pg_stop_backup() after he restarts the master.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2010-04-27 13:55:30 Re: Differential backup
Previous Message Alvaro Herrera 2010-04-27 13:50:44 Re: Differential backup