Re: missing history file

From: "George Wilk" <gwilk(at)ellacoya(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: missing history file
Date: 2007-06-29 15:22:03
Message-ID: 00d201c7ba61$3f078540$0d7ba8c0@ellacoya.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom,

When and by what process is the history file being created? My standby
server seems to be looking for it when put back in the recovery mode, after
functioning as primary for a while.
How should I handle missing history file in my script?

Cheers,
~george

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Friday, June 29, 2007 10:53 AM
To: Simon Riggs
Cc: George Wilk; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] missing history file

"Simon Riggs" <simon(at)2ndquadrant(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2007-06-29 16:21:47 Re: missing history file
Previous Message Tom Lane 2007-06-29 14:52:30 Re: missing history file