Re: autonomous transactions
От | Jonah H. Harris |
---|---|
Тема | Re: autonomous transactions |
Дата | |
Msg-id | 36e682920801231935i58a56674s8621d738f7fcb438@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: autonomous transactions ("Gokulakannan Somasundaram" <gokul007@gmail.com>) |
Список | pgsql-hackers |
On Jan 23, 2008 10:06 PM, Gokulakannan Somasundaram <gokul007@gmail.com> wrote: > On Jan 24, 2008 2:46 AM, Alvaro Herrera <alvherre@commandprompt.com> wrote: > > > The Audit transaction, which is a autonomous transaction need not catch > any > > > error and resume the outer transaction. > > > > What if the logging fails, say because you forgot to create the audit > > table? > > > I get it now... Autonomous transactions are, umm, autonomous. The calling transaction doesn't know about or care whether the autonomous transaction succeeds or fails for any reason. -- Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324 EnterpriseDB Corporation | fax: 732.331.1301 499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com Edison, NJ 08837 | http://www.enterprisedb.com/
В списке pgsql-hackers по дате отправления: