Getting current transaction id

Поиск
Список
Период
Сортировка
От Michael Paesold
Тема Getting current transaction id
Дата
Msg-id 28749.1032797034@www55.gmx.net
обсуждение исходный текст
Ответ на Re: [GENERAL] Getting acces to MVCC version number  (Jean-Luc Lachance <jllachan@nsd.ca>)
Ответы Re: Getting current transaction id
Список 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 по дате отправления:

Предыдущее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: [GENERAL] Getting acces to MVCC version number
Следующее
От: Manfred Koizar
Дата:
Сообщение: Re: [GENERAL] Monitoring a Query