Re: function return type for triggers in postgresql 8.0 rc2 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: function return type for triggers in postgresql 8.0 rc2
Date
Msg-id 19420.1104365844@sss.pgh.pa.us
Whole thread Raw
In response to function return type for triggers in postgresql 8.0 rc2  ("PEDRO LOPEZ" <p.lopez@bresnan.net>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: plperl and pgport
Next
From: Tom Lane
Date:
Subject: Re: BUG #1364: using field names or table names with blanks