Re: missing history file - Mailing list pgsql-admin

From Simon Riggs
Subject Re: missing history file
Date
Msg-id 1183368957.3589.160.camel@silverbirch.site
Whole thread Raw
In response to Re: missing history file  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On Fri, 2007-06-29 at 10:52 -0400, Tom Lane wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > Just ignore 00000001. Recovery will work fine even if absent. Don't
> > ignore all history files though, just that one. Hmmm, come to think of
> > it, why is it requesting it at all? We should just skip that request.
>
> No, because then people would misdesign their recovery scripts to not
> be able to deal with not finding a history file.  As things are, they
> will certainly be exposed to that case in any testing they do.  If we
> optimize this call away, then they won't see the case until they're in
> very deep doo-doo.

Main reason for suggesting this is that there is already code to
optimize the call away in one place, but not in another, which seems
strange either way.

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com



pgsql-admin by date:

Previous
From: Joe Barwell
Date:
Subject: Re: initdb problem
Next
From: "Yuan HOng"
Date:
Subject: