From: ashish srivastava <ashu_shri@hotmail.com>
To: mike@fuhr.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Regarding array of parameter passing from application to the
Date: Wed, 12 Oct 2005 12:20:40 +0530
Message-ID: <BAY111-F3592C3892182BB10AEE6D49F7B0@phx.gbl> (raw)
In-Reply-To: <20051012061322.GA3592@winnie.fuhr.org>
i am using java to pass the parameter to the database and my client side
lanugaue is flash.
>From: Michael Fuhr <mike@fuhr.org>
>To: ashish srivastava <ashu_shri@hotmail.com>
>CC: pgsql-admin@postgresql.org
>Subject: Re: [ADMIN] Regarding array of parameter passing from application
>to the database
>Date: Wed, 12 Oct 2005 00:13:22 -0600
>
>On Tue, Oct 11, 2005 at 07:24:52PM +0530, ashish srivastava wrote:
> > can anybody help me in passing an array of parameters to the postgresql
> > functions.
>
>What functions? Server-side functions that you've created? What
>argument types do those functions take? Arrays of some base type?
>
> > I am having multiple check boxes on the UI and searching in the database
>on
> > the basis whichever is the user selection criterion..
>
>What client-side language are you using? How are you receiving the
>checkbox choices? As an array with the selected elements? If your
>API can't automatically create a PostgreSQL array from a client
>language array, then you could build a string that represents the
>array using one of the formats described in the "Arrays" section
>of the PostgreSQL documentation:
>
>http://www.postgresql.org/docs/8.0/interactive/arrays.html
>
>If that's not what you're looking for then please provide more
>information.
>
>BTW, this seems off-topic for pgsql-admin. Pgsql-interfaces,
>pgsql-general, pgsql-novice, or perhaps pgsql-php (if you're using
>PHP) would be more appropriate.
>
>--
>Michael Fuhr
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: don't forget to increase your free space map settings
_________________________________________________________________
Tata Racing is giving away racing goodies. Enter contest now.
http://server1.msn.co.in/sp05/tataracing/contest.asp
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-admin@postgresql.org
Cc: ashu_shri@hotmail.com, mike@fuhr.org
Subject: Re: Regarding array of parameter passing from application to the
In-Reply-To: <BAY111-F3592C3892182BB10AEE6D49F7B0@phx.gbl>
References: <20051012061322.GA3592@winnie.fuhr.org> <BAY111-F3592C3892182BB10AEE6D49F7B0@phx.gbl>
* 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