Re: How to know if an INSERT is done inside a function? - Mailing list pgsql-general

From Merlin Moncure
Subject Re: How to know if an INSERT is done inside a function?
Date
Msg-id AANLkTinfwpvHRKgn-A3TSXD7zIKOjIdNX7kLsQc7KKnC@mail.gmail.com
Whole thread Raw
In response to Re: How to know if an INSERT is done inside a function?  (Andre Lopes <lopes80andre@gmail.com>)
Responses Re: How to know if an INSERT is done inside a function?  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
On Sun, Jul 4, 2010 at 7:25 AM, Andre Lopes <lopes80andre@gmail.com> wrote:
> Great! That [begin exception end] is what I need!
>
> Thank you Pavel.
>
> Best Regards,

Just a quick heads up: functions with exception handlers tend to be
more expensive than those without, even if the exception doesn't fire.

merlin

pgsql-general by date:

Previous
From: Andre Lopes
Date:
Subject: Re: How to know if an INSERT is done inside a function?
Next
From: "Davor J."
Date:
Subject: Extending postgres objects with attributes