Re: Should we add xid_current() or a int8->xid cast? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Should we add xid_current() or a int8->xid cast?
Date
Msg-id 20190725004014.sexudijxr27shqfj@alap3.anarazel.de
Whole thread Raw
In response to Re: Should we add xid_current() or a int8->xid cast?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Should we add xid_current() or a int8->xid cast?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2019-07-24 20:34:39 -0400, Tom Lane wrote:
> Yeah, I would absolutely NOT recommend that you open that can of worms
> right now.  We have looked at adding unsigned integer types in the past
> and it looked like a mess.

I assume Thomas was thinking more of another bespoke type like xid, just
wider.  There's some notational advantage in not being able to
immediately do math etc on xids.

- Andres



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should we add xid_current() or a int8->xid cast?
Next
From: Tom Lane
Date:
Subject: Re: Should we add xid_current() or a int8->xid cast?