Re: backup_label in a crash recovery - Mailing list pgsql-hackers

From Tom Lane
Subject Re: backup_label in a crash recovery
Date
Msg-id 24115.1257171894@sss.pgh.pa.us
Whole thread Raw
In response to backup_label in a crash recovery  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: backup_label in a crash recovery
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> I wonder why backup_label isn't automatically removed
> in normal crash recovery case.

Removing it automatically could be catastrophic if done incorrectly, no?

> If that's intentional, a clusterware for shared disk
> failover system should remove backup_label whenever
> doing failover.

It would be no less catastrophic if done incorrectly from outside the
postmaster; see for example the problems people have had historically
with startup scripts that think they should remove postmaster.pid.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Architecture of walreceiver (Streaming Replication)
Next
From: Ivo Raisr
Date:
Subject: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns