Re: How do I use the Binary AND operator in a select?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How do I use the Binary AND operator in a select?
Дата
Msg-id 15659.1033503550@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How do I use the Binary AND operator in a select?  ("Chris Pizzo" <chris@artinside.com>)
Список pgsql-novice
"Chris Pizzo" <chris@artinside.com> writes:
> select * from new_tabl where ((col & 64) != 0);

> ERROR:  Unable to identify an operator '&' for types 'int4' and 'int4'

Er ... how old is your Postgres?  Integer & has been there since 7.1
AFAICT ...

            regards, tom lane

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

Предыдущее
От: "Chris Pizzo"
Дата:
Сообщение: How do I use the Binary AND operator in a select?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Index use for case insensitive query