Re: Transaction IDs not the same in same transaction? - Mailing list pgsql-general

From Neil Conway
Subject Re: Transaction IDs not the same in same transaction?
Date
Msg-id 1130112517.8506.4.camel@localhost.localdomain
Whole thread Raw
In response to Re: Transaction IDs not the same in same transaction?  (Steve V <dndlists@gmail.com>)
Responses Re: Transaction IDs not the same in same transaction?  (Steve V <dndlists@gmail.com>)
List pgsql-general
On Sun, 2005-23-10 at 16:35 -0700, Steve V wrote:
> Which library is GetTopTransactionId() available in?

It's defined in the backend executable, as is GetCurrentTransactionId().
A similar wrapper function to the one shown here:

http://archives.postgresql.org/pgsql-general/2005-06/msg00709.php

should work. But I agree with the other folks in this thread who have
questioned whether this is a good idea: backend APIs are known to change
significantly between releases, and making assumptions about how they
behave seems like asking for trouble to me.

-Neil



pgsql-general by date:

Previous
From: Allen
Date:
Subject: Re: out of memory for query result
Next
From: Michael Fuhr
Date:
Subject: Re: Transaction IDs not the same in same transaction?