Re: Transactions within a function body
От | Gurjeet Singh |
---|---|
Тема | Re: Transactions within a function body |
Дата | |
Msg-id | 65937bea0810021040y5b29fc94ufdda5b2d4b225f3e@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Transactions within a function body ("Bob Henkel" <bob.henkel@gmail.com>) |
Список | pgsql-general |
No, in Oracle too SAVEPOINT and AUTONOMOUS transaction are different beasts.
--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com
EnterpriseDB http://www.enterprisedb.com
Mail sent from my BlackLaptop device
On Thu, Oct 2, 2008 at 9:27 PM, Bob Henkel <bob.henkel@gmail.com> wrote:
Coming from an Oracle background my understanding is they're one in the same.
On Thu, Oct 2, 2008 at 10:37 AM, Alvaro Herrera <alvherre@commandprompt.com> wrote:Bob Henkel escribió:> Have you looked at creating a function in perl and creating a newThat's a different thing, "autonomous transactions".
> connection? Or using a dblink query which can create a new connection?
> These two methods work. I have used them to insert to a log table regardless
> of the parent transaction being commited or rolled back.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com
EnterpriseDB http://www.enterprisedb.com
Mail sent from my BlackLaptop device
В списке pgsql-general по дате отправления: