Re: compare integer to inet

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Bill MacArthur <webmaster(at)dhs-club(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: compare integer to inet
Date: 2011-08-20 00:20:13
Message-ID: E6D19983-9160-4868-A46F-5C89157BECFA@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Aug 19, 2011, at 4:24 PM, Bill MacArthur wrote:

> select case when '41.224.0.0'::inet = 702545920 then true else false end;

If addition works, maybe subtraction works. So subtract 0?

--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
http://www.elevated-dev.com/
(303) 722-0567 voice

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message A J 2011-08-21 15:07:15 Re: Question on Postgres Index internals
Previous Message Bill MacArthur 2011-08-19 22:24:31 compare integer to inet