Return-Path: mao
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA20501; Wed, 24 Mar 93 10:04:55 -0800
Message-Id: <9303241804.AA20501@postgres.Berkeley.EDU>
From: Mike Olson <mao@postgres.Berkeley.EDU>
Subject: Re: Functions on arrays ?
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of Wed, 24 Mar 1993 01:26:34 PST.
             <9303240926.AA18694@postgres.Berkeley.EDU> 
Date: Wed, 24 Mar 1993 10:05:39 -0800
From: Mike Olson <mao@postgres.Berkeley.EDU>

In message <9303240926.AA18694@postgres.Berkeley.EDU>you write:

> define function formula_eq ( language = "c", returntype = bool) 
>  arg is (int2[], int2[]) as "/home2/wolf/WB/PG/pg_formula.p.o"
> 
> WARN:Mar 24 18:26:02:parser: syntax error at or near "["

you could try

	arg is (_int2, _int2)

and see if it works.  the system creates magic _<typname> types to represent
"array of <typname>".
					mike
