create function bug?

From: Ewan Mellor <em(at)nexus(dot)co(dot)uk>
To: pgsql-hackers(at)hub(dot)org
Subject: create function bug?
Date: 1998-02-05 17:00:15
Message-ID: 34D9F01F.52D825D5@nexus.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Using a snapshot from two days ago on a i586-pc-linux-gnu using
linux-elf template:

test=> create table test (t1 integer);
CREATE
test=> create function myfunc (integer) returns integer
test-> as 'select $1' language 'sql';
ERROR: ProcedureCreate: arg type 'integer' is not defined
test=> create function myfunc(int4) returns int4
test-> as 'select $1' language 'sql';
CREATE

I can use the integer type in tables, but not in functions. Is this a
bug?

Ewan Mellor.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-05 17:00:48 Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR
Previous Message Jan Wieck 1998-02-05 16:54:14 Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR