From: Josh Berkus <josh@agliodbs.com>
To: pgsql-php@postgresql.org
Cc: jeff@pgsql.com
Subject: PL/PGSQL Array Parameters
Date: Fri, 12 Jan 2001 09:02:13 -0800
Message-ID: <web-1176355@davinci.ethosmedia.com> (raw)
In-Reply-To: <web-1176343@davinci.ethosmedia.com>
Folks,
Can anyone confirm whether it is possible, using 7.0.3, to
pass an array from PHP into a PL/PGSQL function as an input
parameter? Basically I want to do this:
CREATE FUNCTION insert_client (name, address, preferences
ARRAY(1 to 10)) etc ...
Then call the function passing a PHP array variable directly
to the preferences input parameter.
Is this currently supported? If so, can anybody give me a
sample of how they've st it up? Grazie!
-Josh berkus
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, pgsql-php@postgresql.org, jeff@pgsql.com
Subject: Re: PL/PGSQL Array Parameters
In-Reply-To: <web-1176355@davinci.ethosmedia.com>
References: <web-1176343@davinci.ethosmedia.com> <web-1176355@davinci.ethosmedia.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