pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ruben Vivas <ruben.vivas@explorersystem.com>
To: pgsql-sql@postgresql.org
Subject: calling a pl/pgsql function with array in argument
Date: Mon, 22 Apr 2002 15:05:07 -0500
Message-ID: <NGBBLEDNCLEHAAFIPFNNKEAMCAAA.ruben.vivas@explorersystem.com> (raw)

Hello, i am tryin to pass an array like argument to a pl/pgsql function but
i can not find the correct data type in te function.

i am using php.

ex: $dato[][] is the array using php, and i need call:

1. $res = fn_vea ($dato);   ?????

2. in pl/pgsql CREATE FUNCTION fn_vea (integer [][]) RETURNS varchar (25) AS
.........


does it work??
thank you




Message-ID: <NGBBLEDNCLEHAAFIPFNNKEAMCAAA.ruben.vivas@explorersystem.com>
Permalink:  ../NGBBLEDNCLEHAAFIPFNNKEAMCAAA.ruben.vivas@explorersystem.com/
Also on:    postgresql.org/message-id/NGBBLEDNCLEHAAFIPFNNKEAMCAAA.ruben.vivas@explorersystem.com

 · 

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: ruben.vivas@explorersystem.com
  Subject: Re: calling a pl/pgsql function with array in argument
  In-Reply-To: <NGBBLEDNCLEHAAFIPFNNKEAMCAAA.ruben.vivas@explorersystem.com>

* 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