Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0CH2Dp60811 for ; Fri, 12 Jan 2001 12:02:14 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.3) with HTTP id 1176355; Fri, 12 Jan 2001 09:02:13 -0800 From: "Josh Berkus" Subject: PL/PGSQL Array Parameters To: pgsql-php@postgresql.org Cc: jeff@pgsql.com X-Mailer: CommuniGate Pro Web Mailer v.3.3 Date: Fri, 12 Jan 2001 09:02:13 -0800 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200101/52 X-Sequence-Number: 117 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