inet type SELECT ...

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема inet type SELECT ...
Дата
Msg-id Pine.BSF.4.05.9902231100160.98049-100000@thelab.hub.org
обсуждение исходный текст
Список pgsql-sql
How would I write this query so that it works?

select etheraddr from ethernets2 where ip like '131.162.2.%';

where ip is of type 'inet'...

I get an error to the effect of:

hostmgmt=> \e
ERROR:  There is more than one possible operator '~~' for types 'inet' and
        'unknown'.  You will have to retype this query using an explicit
        cast


Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


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

Предыдущее
От: Edmund
Дата:
Сообщение: 8K limit ...
Следующее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [SQL] inet type SELECT ...