Re: polymorphic function in 7.4 vs. 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Rosenberg <richrosenberg(at)earthlink(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: polymorphic function in 7.4 vs. 8.3
Date: 2009-06-11 20:39:38
Message-ID: 18879.1244752778@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Richard Rosenberg <richrosenberg(at)earthlink(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Rosenberg 2009-06-11 21:42:17 Re: polymorphic function in 7.4 vs. 8.3
Previous Message Richard Rosenberg 2009-06-11 20:16:12 polymorphic function in 7.4 vs. 8.3