Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA18694; Wed, 24 Mar 93 01:26:34 -0800
Date: Wed, 24 Mar 93 01:26:34 -0800
Message-Id: <9303240926.AA18694@postgres.Berkeley.EDU>
From: wolf@molout.tutkie.tut.ac.jp (Wolf-D. Ihlenfeldt)
Subject: Functions on arrays ?
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu



I tried to define a set of private functions which operate
on arrays, not single array elements:

define function formula_eq ( language = "c", returntype = bool) 
 arg is (int2[], int2[]) as "/home2/wolf/WB/PG/pg_formula.p.o"

and I get

WARN:Mar 24 18:26:02:parser: syntax error at or near "["


Is it possible to define functions on arrays ? 
If yes, what is the correct syntax ?

Thank you for your help.

WDI

System: v4r1 on sparc

The array is variable-length.

