Re: Transaction IDs not the same in same transaction?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transaction IDs not the same in same transaction?
Дата
Msg-id 16568.1130082048@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Transaction IDs not the same in same transaction?  (Steve V <dndlists@gmail.com>)
Ответы Re: Transaction IDs not the same in same transaction?  (Steve V <dndlists@gmail.com>)
Список pgsql-general
Steve V <dndlists@gmail.com> writes:
> Well it doesn't explicitly do it, so the only thing I could think of
> is that it has something to do with the pltcl spi_exec calls?

Ah, you had not even mentioned that the trigger was in pltcl.
spi_exec runs everything in subtransactions as of 8.0, so that
it can catch errors and propagate them back as Tcl errors.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Transaction IDs not the same in same transaction?
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: pg_autovacuum (8.0.4) as Windows service ?