Remove backup_label automatically

From: Toru SHIMOGAKI <shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Remove backup_label automatically
Date: 2009-11-02 06:40:25
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Is there a reason not to remove backup_label automatically when crash recovery
is run?

ereport in StartXLOG() says the folloing hint message, but I can't see other
cases we have to take care;


(errmsg("could not locate required checkpoint record"),
errhint("If you are not restoring from a backup, try removing the fi
le \"%s/backup_label\".", DataDir)));



Toru SHIMOGAKI<shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp>
NTT Open Source Software Center

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2009-11-02 06:50:45 Re: Syntax for partitioning
Previous Message Tom Lane 2009-11-02 06:19:16 Re: Error on compile for Windows