pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Syjuco <joseph@asti.dost.gov.ph>
To: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: arrays as pgsql function parameters
Date: Fri, 7 Jun 2002 22:08:50 +0800
Message-ID: <PAEBJHHLOIKKCIGBMJOLAEEBCAAA.joseph@asti.dost.gov.ph> (raw)
In-Reply-To: <Pine.LNX.4.44.0206071421370.14271-100000@matrix.gatewaynet.com>

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

-----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


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org




view thread (6+ messages)  latest in thread

Message-ID: <PAEBJHHLOIKKCIGBMJOLAEEBCAAA.joseph@asti.dost.gov.ph>
Permalink:  ../PAEBJHHLOIKKCIGBMJOLAEEBCAAA.joseph@asti.dost.gov.ph/
Also on:    postgresql.org/message-id/PAEBJHHLOIKKCIGBMJOLAEEBCAAA.joseph@asti.dost.gov.ph

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: joseph@asti.dost.gov.ph, achill@matrix.gatewaynet.com
  Subject: Re: arrays as pgsql function parameters
  In-Reply-To: <PAEBJHHLOIKKCIGBMJOLAEEBCAAA.joseph@asti.dost.gov.ph>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox