Getting current transaction id - Mailing list pgsql-sql

From Michael Paesold
Subject Getting current transaction id
Date
Msg-id 28749.1032797034@www55.gmx.net
Whole thread Raw
In response to Re: [GENERAL] Getting acces to MVCC version number  (Jean-Luc Lachance <jllachan@nsd.ca>)
Responses Re: Getting current transaction id  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Hi all,

I just read it's possible to get the MVCC last version numbers. Is it also
possible to get the current transaction id? Would it be possible to check
later if that transaction has been commited? This would be nice for a distributed
application to enforce an "exactly once" semantics for transactions (even if
there are network related errors while the server sends ack for commiting a
transaction).
And if it's possible, how long would that information be valid, i.e. when do
transaction id's get reused?
If it's not working I will have to implement my own transactions table.

Thanks in advance,
Michael Paesold


-- 
Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de



pgsql-sql by date:

Previous
From: Jean-Luc Lachance
Date:
Subject: Re: [GENERAL] Getting acces to MVCC version number
Next
From: Manfred Koizar
Date:
Subject: Re: [GENERAL] Monitoring a Query