Re: pg_lsn cast to/from int8 - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_lsn cast to/from int8
Date
Msg-id 20160126140043.u7dsfocz7zkbuolt@alap3.anarazel.de
Whole thread Raw
In response to pg_lsn cast to/from int8  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pg_lsn cast to/from int8
List pgsql-hackers
On 2016-01-26 14:56:21 +0100, Magnus Hagander wrote:
> Is there a reason we don't have casts between int8 and pg_lsn? AFAICT it
> works fine if I create the cast manually... Is it because of
> signed/unsigned if people have really really many transactions?

What for do you want that cast? Yes, the internally mostly share the
representation, but other than that, I don't really see why it's
interesting?



pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: Optimization for updating foreign tables in Postgres FDW
Next
From: Magnus Hagander
Date:
Subject: Re: pg_lsn cast to/from int8