Re: 32/64-bit transaction IDs?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ed Loehr <ed(at)LoehrTech(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 32/64-bit transaction IDs?
Date: 2003-03-21 21:51:13
Message-ID: 15654.1048283473@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ed Loehr <ed(at)LoehrTech(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Keshava Krishnagiri 2003-03-21 22:27:25 data transfer between databases
Previous Message enediel 2003-03-21 21:43:18 partial index