Re: Tab completion of SET TRANSACTION ISOLATION - Mailing list pgsql-hackers

From Michael Paesold
Subject Re: Tab completion of SET TRANSACTION ISOLATION
Date
Msg-id 028601c626a1$8f282200$0f01a8c0@zaphod
Whole thread Raw
In response to Tab completion of SET TRANSACTION ISOLATION  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Tab completion of SET TRANSACTION ISOLATION
List pgsql-hackers
Csaba Nagy wrote:

> Is there any chance for psql opening a new session if it's inside a
> transaction and use that to do whatever querying is needed ? Just
> something like the control connection on ftp (analogy not very good).
> That could cause other surprises though (could fail for example due to
> too many connections open), and I have no idea about psql internals so
> it might be completely against it's philosophy...

Perhaps not multiple connections, but multiple transactions per connection, 
like Oracle supports, AFAIK. All with a big ;-) of course. I doubt it would 
be easy to implement that. The assumption one-connection-has-one-transaction 
is probably pretty deeply burried in many backend components. Has this been 
changed by the prepared-transactions stuff? I may be mistaken, which would 
be very positive news.

Best Regards,
Michael Paesold 




pgsql-hackers by date:

Previous
From: "Jeffrey W. Baker"
Date:
Subject: Re: New project launched : PostgreSQL GUI Installer for
Next
From: Josh Berkus
Date:
Subject: Re: Configuration WAS: New project launched : PostgreSQL GUI Installer for