Re: timeline signedness - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: timeline signedness
Date
Msg-id CABUevEySdi3kdjV8t6N23mtd75MFg_fa-9cttOTiXDfJ5kg0pA@mail.gmail.com
Whole thread Raw
In response to Re: timeline signedness  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Tue, Aug 13, 2013 at 1:31 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On Wed, 2013-08-07 at 21:55 -0400, Peter Eisentraut wrote:
>> WAL timelines are unsigned 32-bit integers everywhere, except the
>> replication parser (replication/repl_gram.y and
>> replication/repl_scanner.l) treats them as signed 32-bit integers.  It's
>> obviously a corner case, but it would be prudent to be correct about
>> this.  It should be easy to fix in those grammar files.
>
> Here is a patch to fix this.

Looks fine to me, and looks like the correct thing to do.

-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Regarding BGworkers
Next
From: Heikki Linnakangas
Date:
Subject: Re: timeline signedness