Re: xlog location arithmetic - Mailing list pgsql-hackers

From Tom Lane
Subject Re: xlog location arithmetic
Date
Msg-id 18871.1324652754@sss.pgh.pa.us
Whole thread Raw
In response to Re: xlog location arithmetic  (Magnus Hagander <magnus@hagander.net>)
Responses Re: xlog location arithmetic
Re: xlog location arithmetic
Re: xlog location arithmetic
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

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