Re: 32/64-bit transaction IDs? - Mailing list pgsql-general

From Tom Lane
Subject Re: 32/64-bit transaction IDs?
Date
Msg-id 15654.1048283473@sss.pgh.pa.us
Whole thread Raw
In response to 32/64-bit transaction IDs?  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: 32/64-bit transaction IDs?  ("Ed L." <pgsql@bluepolka.net>)
List pgsql-general
Ed Loehr <ed@LoehrTech.com> writes:
> A 64-bit serial ID number would suffice.  I could spend a little time on
> that.  Any starter hints on files/functions/structure of such an addition?
> Something akin to GetTransactionId()?

You'd have to capture the WAL "recptr" returned to
RecordTransactionCommit by XLogInsert.  What you do with it afterwards,
I have no idea.

            regards, tom lane

pgsql-general by date:

Previous
From: "Ed L."
Date:
Subject: Re: 32/64-bit transaction IDs?
Next
From: Keshava Krishnagiri
Date:
Subject: data transfer between databases