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

Re: PL/pgSQL equivalent to PQtransactionStatus?

From: Christophe <xof(at)thebuild(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: PL/pgSQL equivalent to PQtransactionStatus?
Date: 2008-07-31 18:44:40
Message-ID: DD2798EC-F3EE-4031-BFDB-480EFF6E258C@thebuild.com (view raw or flat)
Thread:
Lists: pgsql-general
On Jul 31, 2008, at 11:12 AM, Richard Huxton wrote:
> A pl/pgsql function *always* executes within a transaction.

Indeed so.  What I'm looking for is a way of detecting if a  
transaction block has been opened (i.e., we're within a BEGIN).

In response to

Responses

pgsql-general by date

Next:From: Alvaro HerreraDate: 2008-07-31 18:49:24
Subject: Re: PL/pgSQL equivalent to PQtransactionStatus?
Previous:From: Magnus HaganderDate: 2008-07-31 18:17:52
Subject: Re: Doing an LDAP lookup from a SQL SELECT

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