From: Jackson, DeJuan <djackson@cpsgroup.com>
To: David Ouellet <David.Ouellet@drev.dnd.ca>
To: pgsql-sql@postgreSQL.org
Subject: RE: [SQL] Question about arrays
Date: Mon, 9 Aug 1999 15:25:32 -0500
Message-ID: <D05EF808F2DFD211AE4A00105AA1B5D2431D7C@cpsmail> (raw)
Check contrib/array in the distribution.
> -----Original Message-----
> From: David Ouellet [SMTP:David.Ouellet@drev.dnd.ca]
> Sent: Monday, August 09, 1999 1:19 PM
> To: pgsql-sql@postgreSQL.org
> Subject: [SQL] Question about arrays
>
> Hi,
> Is there an operator to test if a value is contained into an array?
>
> What I'm trying to do is create a function to check is a certain user
> belongs to a certain group.
> I want to check is the userid is contained in the pg_grouip.grolist
> array.
>
> How would I do that?
>
> Thanks in advance
> David Ouellet
>
>
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: djackson@cpsgroup.com, David.Ouellet@drev.dnd.ca
Subject: Re: [SQL] Question about arrays
In-Reply-To: <D05EF808F2DFD211AE4A00105AA1B5D2431D7C@cpsmail>
References: <D05EF808F2DFD211AE4A00105AA1B5D2431D7C@cpsmail>
* 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