Re: PL/pgSQL return value in after triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/pgSQL return value in after triggers
Дата
Msg-id 21059.1298913645@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/pgSQL return value in after triggers  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> PL/pgSQL trigger functions currently require a value to be returned,
> even though that value is not used for anything in case of a trigger
> fired AFTER.  I was wondering if we could relax that.

I got bit by that just a couple days ago --- I supposed that a trigger
that wasn't returning anything useful shouldn't need an explicit
RETURN.  So +1 for doing something about it.  However, unless it's a
very small and simple patch, I concur with Robert that it might be
a bit late to consider this for 9.1.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: PL/pgSQL return value in after triggers
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Snapshot synchronization, again...