Re: Current transaction ID?

From: "Steve - DND" <postgres(at)digitalnothing(dot)com>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "postgres-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Current transaction ID?
Date: 2005-06-14 23:46:29
Message-ID: LDEHKBBOEMIJKHKBOFNFCEMPPBAA.postgres@digitalnothing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Steve - DND wrote:
> > Simple question I'm sure, but how can I get the transaction ID
> that a query
> > is currently running in? I can find all kinds of documentation
> talking about
> > transaction ids, but nothing about how to get the current one.
>
> You can look at the xmin of a tuple you created or an xmax of a tuple
> you deleted.

Let's pretend I don't know how to do that. :) Do you have a link to a page
in the manual that describes this process, or can you give me a quick
runthrough of what you're talking about?

Thanks,
Steve

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-06-14 23:48:50 Re: Current transaction ID?
Previous Message Bruce Momjian 2005-06-14 23:41:11 Re: Current transaction ID?