Re: polymorphic function in 7.4 vs. 8.3 - Mailing list pgsql-sql

From Tom Lane
Subject Re: polymorphic function in 7.4 vs. 8.3
Date
Msg-id 18879.1244752778@sss.pgh.pa.us
Whole thread Raw
In response to polymorphic function in 7.4 vs. 8.3  (Richard Rosenberg <richrosenberg@earthlink.net>)
List pgsql-sql
Richard Rosenberg <richrosenberg@earthlink.net> writes:
> I have the following setup which works great in version 8.3 but throws an 
> error in 7.4:

I think you mangled your example to the point where it doesn't work in
8.3 either ... I get

ERROR:  a column definition list is required for functions returning "record"
CONTEXT:  SQL statement "select * from dd_test( $1 )"
PL/pgSQL function "test_trg" line 7 at SQL statement
        regards, tom lane


pgsql-sql by date:

Previous
From: Richard Rosenberg
Date:
Subject: polymorphic function in 7.4 vs. 8.3
Next
From: Tom Lane
Date:
Subject: Re: polymorphic function in 7.4 vs. 8.3