Re: Get current trasanction id

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Marek Lewczuk <newsy(at)lewczuk(dot)com>
Cc: Lista dyskusyjna pgsql-general <pgsql-general(at)postgresql(dot)org>, Lista dyskusyjna pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Get current trasanction id
Date: 2004-12-27 14:54:06
Message-ID: 20041227145406.GA73681@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

On Mon, Dec 27, 2004 at 09:52:57AM +0100, Marek Lewczuk wrote:

> is there any way to get current transaction id using plpgsql or sql ?

A couple of people have posted suggestions but I'll ask a question:

Why do you want the transaction ID? What problem are you trying
to solve?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message vinita bansal 2004-12-27 16:36:21 error : syntax error at or near $1 for over select rows
Previous Message Nicolas COUSSEMACQ 2004-12-27 13:27:03 8.0 Beta3 worked, RC1 didn't!

Browse pgsql-sql by date

  From Date Subject
Next Message Marek Lewczuk 2004-12-27 19:54:49 Re: Get current trasanction id
Previous Message Martijn van Oosterhout 2004-12-27 12:07:07 Re: Get current trasanction id