Re: Width of SubTransactionId (hello Postgres PRO) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Width of SubTransactionId (hello Postgres PRO)
Date
Msg-id 20211028143708.GA25366@momjian.us
Whole thread Raw
In response to Width of SubTransactionId (hello Postgres PRO)  (Chapman Flack <chap@anastigmatix.net>)
Responses Re: Width of SubTransactionId (hello Postgres PRO)  (Chapman Flack <chap@anastigmatix.net>)
List pgsql-hackers
On Thu, Oct 28, 2021 at 10:29:52AM -0400, Chapman Flack wrote:
> Hi,
> 
> According to a reported PL/Java issue [0], SubTransactionId in
> Postgres PRO EE 13 has become a typedef uint64 rather than uint32.
> 
> What are the plans for this type upstream? I notice it is still uint32
> here, even for 14. Are there plans for it to become uint64 at some point?
> Or to become something else entirely?
> 
> I am deliberating whether I should just make the Java type 64 bits and say
> "thereifixedit", or if some other approach would be more futureproof.

I know of no plans to implement 64-bit transaction ids in community
Postgres because of the longer tuple header and file format changes.
It is discussed occasionally though.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.




pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Width of SubTransactionId (hello Postgres PRO)
Next
From: Daniel Gustafsson
Date:
Subject: Re: Replication & recovery_min_apply_delay