Re: queries problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: queries problems
Дата
Msg-id 27001.1126225013@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: queries problems  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Michael Fuhr <mike@fuhr.org> writes:
> I don't know if there's an easier way to check if an int2 is a
> member of an int2vector, but you could write a function to convert
> an int2vector to an int2 array and then use an "= ANY" expression.

FWIW, as of 8.1 an int2vector *is* an int2 array, so = ANY just works.
        regards, tom lane


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: queries problems
Следующее
От: miwalsh
Дата:
Сообщение: Numeric Columns