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

Re: Runtime parameter holding is_in_transaction state

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sergey Samokhin <prikrutil(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Runtime parameter holding is_in_transaction state
Date: 2009-09-04 04:53:29
Message-ID: 7525.1252040009@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
Sergey Samokhin <prikrutil(at)gmail(dot)com> writes:
> Is there a runtime parameter which holds true if we are inside
> transaction, and false otherwise?

No, because it is not possible to execute SHOW without being inside
a transaction.

Maybe you should explain what it is you want to accomplish.

			regards, tom lane

In response to

Responses

pgsql-novice by date

Next:From: David SaraciniDate: 2009-09-04 21:57:13
Subject: Where to report a bug?
Previous:From: Sergey SamokhinDate: 2009-09-03 23:42:40
Subject: Runtime parameter holding is_in_transaction state

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