pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Bill MacArthur <webmaster@dhs-club.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: compare integer to inet
Date: Fri, 19 Aug 2011 18:20:13 -0600
Message-ID: <E6D19983-9160-4868-A46F-5C89157BECFA@elevated-dev.com> (raw)
In-Reply-To: <4E4EE29F.2070209@dhs-club.com>
References: <4E4EE29F.2070209@dhs-club.com>

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







view thread (3+ messages)  latest in thread

Message-ID: <E6D19983-9160-4868-A46F-5C89157BECFA@elevated-dev.com>
Permalink:  ../E6D19983-9160-4868-A46F-5C89157BECFA@elevated-dev.com/
Also on:    postgresql.org/message-id/E6D19983-9160-4868-A46F-5C89157BECFA@elevated-dev.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, webmaster@dhs-club.com
  Subject: Re: compare integer to inet
  In-Reply-To: <E6D19983-9160-4868-A46F-5C89157BECFA@elevated-dev.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox