Transaction started test

Поиск
Список
Период
Сортировка
От Larry Anderson
Тема Transaction started test
Дата
Msg-id 4B2E205C.8050200@blueyonder.co.uk
обсуждение исходный текст
Ответы Re: Transaction started test  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general

Hi All,

I'm new to Postgres and need a way to test if a transaction is already in progress.

The test will take place inside a trigger function in pl/pgsql and will start a new transaction only if one is not in progress ie started by a previous trigger that cascaded through to this trigger. Cannot find any such function in the docs.

Any help much appreciated.

Best regards


Larry Anderson

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Extracting SQL from logs in a usable format
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Transaction started test