Re: Tab completion of SET TRANSACTION ISOLATION

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Tab completion of SET TRANSACTION ISOLATION
Дата
Msg-id 20060131191151.GR95850@pervasive.com
обсуждение исходный текст
Ответ на Re: Tab completion of SET TRANSACTION ISOLATION  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-hackers
On Tue, Jan 31, 2006 at 03:41:06PM +0100, 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...

Well, one problem there is that the connection could well have different
parameters, like search_path. Granted, probably wouldn't matter in this
case, but... Plus of course there's the cost of startup.

Something that's asked for periodically is the ability to run things
outside of a current transaction. The normal reply is to use DBLink, but
if there was backend support for that it could probably be used here.
But I suspect adding that ability would be a pretty large amount of work
:(
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: New project launched : PostgreSQL GUI Installer for
Следующее
От: Joachim Wieland
Дата:
Сообщение: Re: Policy on schema-qualified names