Re: RE in where

Поиск
Список
Период
Сортировка
От Patrick Nelson
Тема Re: RE in where
Дата
Msg-id 4165C48DE9A0D211B6400800095C585F172F53@WASHINGTON
обсуждение исходный текст
Ответ на RE in where  (Patrick Nelson <pnelson@neatech.com>)
Ответы Re: RE in where
Список pgsql-general
Patrick Nelson wrote:
----------------->>>>
Ran a query that I run periodically and it no longer works.  It looks like:

  SELECT * FROM hosts WHERE host ~ '^61.216.';

However, now I get an error:

  ERROR: Unable to identify an operator '~' for types 'inet' and '"unknown"'
         You will have to retype this query using an explicit cast

Anyone know what I've got going that is wrong?
----------------->>>>
More info:

Oh this is v7.3.1-1PGDG running on RH73 (server) and RH72 (clients)

This seems to be only with the inet data type.  The other data types I try
with the ~ (or ~~) work fine.

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

Предыдущее
От: Jonathan Bartlett
Дата:
Сообщение: Re: Table Partitioning in Postgres:
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: How do people do schema upgrades?