Re: Current transaction ID?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Current transaction ID?
Дата
Msg-id 200506142341.j5ENfBc14189@candle.pha.pa.us
обсуждение исходный текст
Ответ на Current transaction ID?  ("Steve - DND" <postgres@digitalnothing.com>)
Ответы Re: Current transaction ID?
Re: Current transaction ID?
Список 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.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-general по дате отправления:

Предыдущее
От: "Steve - DND"
Дата:
Сообщение: Current transaction ID?
Следующее
От: "Steve - DND"
Дата:
Сообщение: Re: Current transaction ID?