Skip site navigation (1) Skip section navigation (2)

How to check that I am in transaction inside backend

From: Denis Perchine <dyp(at)perchine(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: How to check that I am in transaction inside backend
Date: 2000-11-02 05:09:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

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 

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(at)perchine(dot)com
FidoNet: 2:5000/120.5


pgsql-hackers by date

Next:From: Zeugswetter Andreas SBDate: 2000-11-02 08:35:29
Subject: AW: Re: [GENERAL] Query caching
Previous:From: Bruce MomjianDate: 2000-11-02 04:52:54
Subject: Re: Re: [CORE] 7.0.3 Release date?

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group