From: b t <qtboyzz@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: is there a way to find out if an element is exist in an array
Date: Thu, 3 Mar 2005 02:16:29 -0800 (PST)
Message-ID: <20050303101629.76782.qmail@web61007.mail.yahoo.com> (raw)
As part of my project, we have to build a tool similar to phppgadmin, I want to find out if a particular is in what group, I used "select grolist from pg_group where groname = 'webmaster';" it returned an array of user in group "webmaster" I want to find out if a particular user is in that array.
Thanks in advance
-Brian
---------------------------------
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
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-interfaces@postgresql.org
Cc: qtboyzz@yahoo.com
Subject: Re: is there a way to find out if an element is exist in an array
In-Reply-To: <20050303101629.76782.qmail@web61007.mail.yahoo.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