Re: xlog location arithmetic - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: xlog location arithmetic
Date
Msg-id 4EF49AA6.3070809@dunslane.net
Whole thread Raw
In response to Re: xlog location arithmetic  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 12/23/2011 10:05 AM, Tom Lane wrote:
> Magnus Hagander<magnus@hagander.net>  writes:
>>> At this point, my question is: do we want to support the lsn data type idea or
>>> a basic function that implements the difference between LSNs?
>> Personally I think a function is enough - it solves the only case that
>> I've actually seen. But a datatype would be a more complete solution,
>> of course - but it seems a bit of an overkill to me. Not really sure
>> which way we should go - I was hoping somebody else would comment as
>> well..
> I too think a datatype is overkill, if we're only planning on providing
> one function.  Just emit the values as numeric and have done.
>
>             

+1.

cheers

andrew


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: xlog location arithmetic
Next
From: Tom Lane
Date:
Subject: Re: WIP: explain analyze with 'rows' but not timing