Re: SR fails to send existing WAL file after off-line copy - Mailing list pgsql-hackers

From Greg Stark
Subject Re: SR fails to send existing WAL file after off-line copy
Date
Msg-id AANLkTimDqd4++_FbjOA0ZaD+8to0JVrCk+JiQDb60sdA@mail.gmail.com
Whole thread Raw
In response to Re: SR fails to send existing WAL file after off-line copy  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: SR fails to send existing WAL file after off-line copy
List pgsql-hackers
On Mon, Nov 1, 2010 at 12:37 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> Yes, indeed there is a corner-case bug when you try to stream the very first
> WAL segment, with log==seg==0.

This smells very much like
http://article.gmane.org/gmane.comp.db.postgresql.devel.general/137052

I wonder if there's some defensive programming way to avoid bugs of this sort.

-- 
greg


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: SR fails to send existing WAL file after off-line copy
Next
From: Jeff Davis
Date:
Subject: Re: Range Types, discrete and/or continuous