Re: Named transaction

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Named transaction
Дата
Msg-id 20090617191103.GN6750@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Named transaction  (Greg Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Greg Stark wrote:
> On Wed, Jun 17, 2009 at 6:40 PM, Alvaro
> Herrera<alvherre@commandprompt.com> wrote:

> > AFAIK that's an "autonomous transaction", at least to some other RDBMSs.
> 
> I have no idea what they are in Firebird but  the name conjured up a
> different (interesting) idea for me. I had the image of naming a
> transaction and then being able to have other sessions join that same
> transaction. We've discussed this before for connection-pooled systems
> which want to be able to return their connection to the pool in the
> middle of their transaction.

Sounds a bit like a prepared transaction, except that you don't put it
aside for later commit but rather "suspend" it.

> It would also possibly be useful for parallel data dumps and loads.

I think the clone snapshot stuff would be more easily usable for that.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Named transaction
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Named transaction