Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id B4AAC634A80 for ; Thu, 11 Jun 2009 17:39:42 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 51955-07 for ; Thu, 11 Jun 2009 17:39:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 2C8AE6347BE for ; Thu, 11 Jun 2009 17:39:41 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n5BKdd6i018880; Thu, 11 Jun 2009 16:39:39 -0400 (EDT) To: Richard Rosenberg cc: pgsql-sql@postgresql.org Subject: Re: polymorphic function in 7.4 vs. 8.3 In-reply-to: <200906111316.12662.richrosenberg@earthlink.net> References: <200906111316.12662.richrosenberg@earthlink.net> Comments: In-reply-to Richard Rosenberg message dated "Thu, 11 Jun 2009 13:16:12 -0700" Date: Thu, 11 Jun 2009 16:39:38 -0400 Message-ID: <18879.1244752778@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.098 tagged_above=0 required=5 tests=AWL=0.098 X-Spam-Level: X-Archive-Number: 200906/56 X-Sequence-Number: 32661 Richard Rosenberg 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