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