Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id EE6524767FC for ; Fri, 7 Jun 2002 11:10:39 -0400 (EDT) Received: from matrix.gatewaynet.com (unknown [217.19.69.50]) by postgresql.org (Postfix) with ESMTP id 99ACA476360 for ; Fri, 7 Jun 2002 09:32:23 -0400 (EDT) Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.11.6/8.11.6) with ESMTP id g57DX2915054; Fri, 7 Jun 2002 16:33:02 +0300 Date: Fri, 7 Jun 2002 16:33:02 +0300 (EEST) From: Achilleus Mantzios To: Joseph Syjuco Cc: pgsql-sql@postgresql.org Subject: Re: arrays as pgsql function parameters In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200206/68 X-Sequence-Number: 8033 On Fri, 7 Jun 2002, Joseph Syjuco wrote: > actually i already have and basically the function statments start as > create function test(_int4) returns integer > when i tried to execute the function > select test('{1,2,3,4}'); > it didnt spew out errors but it didnt output results either Well, it depends on the code :) Is it C? pg/plsql?? > > -----Original Message----- > From: pgsql-sql-owner@postgresql.org > [mailto:pgsql-sql-owner@postgresql.org]On Behalf Of Achilleus Mantzios > Sent: Friday, June 07, 2002 7:24 PM > To: Joseph Syjuco > Cc: pgsql-sql@postgresql.org > Subject: Re: [SQL] arrays as pgsql function parameters > > > On Fri, 7 Jun 2002, Joseph Syjuco wrote: > > Have a look at the documentation regarding server side programming. > > Also you can have as examples the contrib/array and the famous > contrib/intarray package. > > > how can i pass and access array parameters to a function > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 2: you can get off all lists at once with the unregister command > > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > > > > -- Achilleus Mantzios S/W Engineer IT dept Dynacom Tankers Mngmt tel: +30-10-8981112 fax: +30-10-8981877 email: achill@matrix.gatewaynet.com mantzios@softlab.ece.ntua.gr