Re: function return type for triggers in postgresql 8.0 rc2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: function return type for triggers in postgresql 8.0 rc2
Дата
Msg-id 19420.1104365844@sss.pgh.pa.us
обсуждение исходный текст
Ответ на function return type for triggers in postgresql 8.0 rc2  ("PEDRO LOPEZ" <p.lopez@bresnan.net>)
Список pgsql-bugs
"PEDRO LOPEZ" <p.lopez@bresnan.net> writes:
> after struggling with 'function not defined errors', and unable to see what
> was wrong I redefined the function as:

> CREATE OR REPLACE FUNCTION currentstatus_dtrig() RETURNS opaque AS
> ...

> and got the message to the effect of 'redefining return type as trigger',

Yup.

> This is strange, AFAICT I followed the documentation setting up the trigger
> and functions (correct parameter signature and return type).

It's been a long time (at least since 7.3) since the documentation
recommended using OPAQUE for anything.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: plperl and pgport
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1364: using field names or table names with blanks