%ROWTYPE in RETURNS clause of CREATE FUNCTION statement causes a parser error. Postges 7.4 & 7.4.1

From: "ezra epstein" <ee_newsgroup_post(at)prajnait(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: %ROWTYPE in RETURNS clause of CREATE FUNCTION statement causes a parser error. Postges 7.4 & 7.4.1
Date: 2003-12-25 00:44:44
Message-ID: j7ydnYXaKaJrs3eiXTWc-w@speakeasy.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Running under cygwin on Windows 2000 and Windows XP.

It appears that %ROWTYPE is not allowed in the RETURNs clause of function
declarations. It could be that this is a "feature" but it seems an odd one
since %ROWTYPE is allowed in the parameter list and DECLARE section of
PL/pgSQL functions.

== Ezra Epstein

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-12-25 15:47:50 Re: 7.4: FATAL: terminating connection due to administrator command
Previous Message PostgreSQL Bugs List 2003-12-24 18:58:43 BUG #1028: order by problem