Re: [SQL] Question about arrays

Поиск
Список
Период
Сортировка
От David Ouellet
Тема Re: [SQL] Question about arrays
Дата
Msg-id 37B04237.B949D277@drev.dnd.ca
обсуждение исходный текст
Ответ на Question about arrays  (David Ouellet <David.Ouellet@drev.dnd.ca>)
Список pgsql-sql
Never mind, I found the answer.
For those interested, look at contrib/array it adds a whole bunch of
operators that iterates over an array.

David Ouellet

David Ouellet wrote:

> 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



В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Postres falls down on "having"
Следующее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [SQL] Question about arrays