How to check that I am in transaction inside backend

Поиск
Список
Период
Сортировка
От Denis Perchine
Тема How to check that I am in transaction inside backend
Дата
Msg-id 00110211094413.00634@dyp.perchine.com
обсуждение исходный текст
Список pgsql-hackers
Hello,

Having some expirience with catching errors with BLOBs, I realised, that it 
is really hard to understand that you forget to enclose BLOB operations in 
transaction...

I would like to add a check for each BLOB operation which will check whether 
we are in transaction, and if not it will issue a notice.

The question is how correctly check that I am in transaction.

-- 
Sincerely Yours,
Denis Perchine

----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [CORE] 7.0.3 Release date?
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: Re: [GENERAL] Query caching