Re: compare integer to inet - Mailing list pgsql-admin

From Scott Ribe
Subject Re: compare integer to inet
Date
Msg-id E6D19983-9160-4868-A46F-5C89157BECFA@elevated-dev.com
Whole thread Raw
In response to compare integer to inet  (Bill MacArthur <webmaster@dhs-club.com>)
List 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@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





pgsql-admin by date:

Previous
From: Bill MacArthur
Date:
Subject: compare integer to inet
Next
From: A J
Date:
Subject: Re: Question on Postgres Index internals