Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-sql by date

Next:From: Marek LewczukDate: 2004-12-27 19:54:49
Subject: Re: Get current trasanction id
Previous:From: Martijn van OosterhoutDate: 2004-12-27 12:07:07
Subject: Re: Get current trasanction id

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group