Re: [HACKERS] create function bug?

Tom Samplonius <tom@sdf.com>

From: Tom <tom@sdf.com>
To: Ewan Mellor <em@nexus.co.uk>
Cc: pgsql-hackers@hub.org
Date: 1998-02-05T21:48:10Z
Lists: pgsql-hackers
On Thu, 5 Feb 1998, Ewan Mellor wrote:

> test=> create function myfunc (integer) returns integer
> test-> as 'select $1' language 'sql';

  On most PLs that I used, you need to specify a variable name for the
param, after all, how are you going to refer to it?

  Try:

create function myfunc (myint integer) returns integer
as 'select $1' language 'sql';


Tom