From: | "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com> |
---|---|
To: | The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-sql(at)postgreSQL(dot)org |
Subject: | RE: [SQL] inet type SELECT ... |
Date: | 1999-02-23 17:13:16 |
Message-ID: | F10BB1FAF801D111829B0060971D839F6A4BE0@cpsmail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
select etheraddr from ethernets2 where ip << '131.162.2/24';
> -----Original Message-----
> 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(at)hub(dot)org secondary:
> scrappy(at){freebsd|postgresql}.org
From | Date | Subject | |
---|---|---|---|
Next Message | Ken Mort | 1999-02-24 02:58:36 | Re: [SQL] 8K limit ... |
Previous Message | The Hermit Hacker | 1999-02-23 15:01:31 | inet type SELECT ... |