Re: TODO: Add a GUC to control whether BEGIN inside

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: TODO: Add a GUC to control whether BEGIN inside
Дата
Msg-id 20070102164236.GC21867@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: TODO: Add a GUC to control whether BEGIN inside  ("news.postgresql.org" <smith@pooteeweet.org>)
Ответы Re: TODO: Add a GUC to control whether BEGIN inside  (Lukas Kahwe Smith <smith@pooteeweet.org>)
Re: TODO: Add a GUC to control whether BEGIN inside  (Lukas Kahwe Smith <smith@pooteeweet.org>)
Список pgsql-hackers
news.postgresql.org wrote:

> While we are on the topic, I have implemented a poor mans nested 
> transaction feature into my database access layer. essentially 
> subsequent calls to begin a transaction after the initial begin simply 
> increase an internal counter and set a savepoint. as you commit the 
> transactions the counter is decreased and the savepoints are released. 
> maybe this could be implemented inside postgresql to make the life of 
> modular programmers easier?

Yeah, it's called "SAVEPOINT foo" and "RELEASE foo".

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


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

Предыдущее
От: "news.postgresql.org"
Дата:
Сообщение: Re: TODO: Add a GUC to control whether BEGIN inside
Следующее
От: Lukas Kahwe Smith
Дата:
Сообщение: Re: TODO: Add a GUC to control whether BEGIN inside