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

From Alvaro Herrera
Subject Re: Should we add xid_current() or a int8->xid cast?
Date
Msg-id 20200417192646.GA29439@alvherre.pgsql
Whole thread Raw
In response to Re: Should we add xid_current() or a int8->xid cast?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 2020-Apr-17, Andres Freund wrote:

> Yes? But that type doesn't exist in isolation. Having yet another
> significantly different representation of 64bit xids (as plain 64 bit
> integers, and as some 32/32 epoch/xid split) would make an already
> confusing situation even more complex.

On the contrary -- I think it would clarify a confusing situation.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Poll: are people okay with function/operator table redesign?
Next
From: Robert Haas
Date:
Subject: return value from pq_putmessage() is widely ignored