Re: Get current trasanction id

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Get current trasanction id
Дата
Msg-id 20041227120703.GA1298@svana.org
обсуждение исходный текст
Ответ на Get current trasanction id  (Marek Lewczuk <newsy@lewczuk.com>)
Список pgsql-general
I'm sure there's many tricky ways, but one simple way would be to
insert a row into a table and then grab its XMIN value...

Hope this helps,

On Mon, Dec 27, 2004 at 09:52:57AM +0100, Marek Lewczuk wrote:
> Hello,
> is there any way to get current transaction id using plpgsql or sql ?
>
> Thanks in advance for any help.
>
> ML
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Kaloyan Iliev Iliev
Дата:
Сообщение: Where is the error
Следующее
От: John DeSoi
Дата:
Сообщение: Re: Where is the error