PL/PGSQL Array Parameters

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: pgsql-php(at)postgresql(dot)org
Cc: jeff(at)pgsql(dot)com
Subject: PL/PGSQL Array Parameters
Date: 2001-01-12 17:02:13
Message-ID: web-1176355@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php pgsql-sql

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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Anuradha Ratnaweera 2001-01-15 15:49:45 boolean values and php
Previous Message Josh Berkus 2001-01-12 16:43:17 Re: [PHP] Automatic increment

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas Swan 2001-01-12 22:02:42 Re: Serials
Previous Message Josh Berkus 2001-01-12 16:43:17 Re: [PHP] Automatic increment