On Jan 23, 2008 10:06 PM, Gokulakannan Somasundaram <[EMAIL PROTECTED]> wrote:
> On Jan 24, 2008 2:46 AM, Alvaro Herrera <[EMAIL PROTECTED]> 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          | [EMAIL PROTECTED]
Edison, NJ 08837                        | http://www.enterprisedb.com/

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to