Do Postgres exceptions rise up the stack?

From: "Postgres User" <postgres(dot)developer(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Do Postgres exceptions rise up the stack?
Date: 2007-06-30 21:14:18
Message-ID: b88c3460706301414v7d38e9b1p1ba60212b2295ad9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A basic question about raising exceptions in Postgres:

If Function A calls Function B

and Func B raises an exception, will the exception roll back the
transaction in Func A by default? Or do I need to trap and re-raise
the exception in Func A?

Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Postgres User 2007-06-30 21:18:56 Re: SQL problem..
Previous Message Wiebe Cazemier 2007-06-30 20:30:32 Trapping errors from pl/perl (trigger) functions