pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Rosenberg <richrosenberg@earthlink.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: polymorphic function in 7.4 vs. 8.3
Date: Thu, 11 Jun 2009 16:39:38 -0400
Message-ID: <18879.1244752778@sss.pgh.pa.us> (raw)
In-Reply-To: <200906111316.12662.richrosenberg@earthlink.net>
References: <200906111316.12662.richrosenberg@earthlink.net>

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



view thread (6+ messages)  latest in thread

Message-ID: <18879.1244752778@sss.pgh.pa.us>
Permalink:  ../18879.1244752778@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18879.1244752778@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, richrosenberg@earthlink.net
  Subject: Re: polymorphic function in 7.4 vs. 8.3
  In-Reply-To: <18879.1244752778@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox