Skip site navigation (1) Skip section navigation (2)

Re: xlog location arithmetic

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: xlog location arithmetic
Date: 2011-12-23 15:05:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Magnus Hagander <magnus(at)hagander(dot)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

In response to


pgsql-hackers by date

Next:From: Robert HaasDate: 2011-12-23 15:13:41
Subject: Re: xlog location arithmetic
Previous:From: Tomas VondraDate: 2011-12-23 14:45:40
Subject: Re: WIP: explain analyze with 'rows' but not timing

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group