Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA00777; Thu, 12 Aug 93 14:18:53 -0700
Date: Thu, 12 Aug 93 14:18:53 -0700
Message-Id: <9308122118.AA00777@postgres.Berkeley.EDU>
From: jean@gso.SAIC.COM (Jean Anderson)
Subject: Re: portal renaming?
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu

Ranen Goren <ranen@CS.HUJI.AC.IL> writes:
> jean@gso.SAIC.COM (Jean Anderson) wrote:
> 
> ...
> > Does anybody know of a way to snag current transaction state from Postgres?
> ...
>         Sure... Just PQexec("begin") and parse the output message
>         to see if Postgres claims it is already in transaction mode :)
>         If you really want to make it bulletproof, I guess
>         you are inviting trouble. I have started to think about
>         pressing the user's Help button ;)

That wouldn't be bad if I could suppress the warnings that are output to
the screen. I guess my users are more nervous than yours.

 -jean
