Re: How to know if an INSERT is done inside a function?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: How to know if an INSERT is done inside a function?
Дата
Msg-id AANLkTinfwpvHRKgn-A3TSXD7zIKOjIdNX7kLsQc7KKnC@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to know if an INSERT is done inside a function?  (Andre Lopes <lopes80andre@gmail.com>)
Ответы Re: How to know if an INSERT is done inside a function?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andre Lopes
Дата:
Сообщение: Re: How to know if an INSERT is done inside a function?
Следующее
От: "Davor J."
Дата:
Сообщение: Extending postgres objects with attributes