pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paesold <mpaesold@gmx.at>
To: pgsql-sql@postgresql.org
Subject: Getting current transaction id
Date: Mon, 23 Sep 2002 18:03:54 +0200 (MEST)
Message-ID: <28749.1032797034@www55.gmx.net> (raw)
References: <3D8F3775.B5DD079@nsd.ca>

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




view thread (3+ messages)  latest in thread

Message-ID: <28749.1032797034@www55.gmx.net>
Permalink:  ../28749.1032797034@www55.gmx.net/
Also on:    postgresql.org/message-id/28749.1032797034@www55.gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mpaesold@gmx.at
  Subject: Re: Getting current transaction id
  In-Reply-To: <28749.1032797034@www55.gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox