pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Mr Dash Four <mr.dash.four@googlemail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7575: "between" does not work properly with inet/cidr addresses
Date: Fri, 12 Oct 2012 10:31:28 +0200
Message-ID: <m2391k2isf.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <506837BC.3050305@googlemail.com>
References: <E1THijW-00022e-9T@wrigleys.postgresql.org>
	<15990.1348982762@sss.pgh.pa.us>
	<506837BC.3050305@googlemail.com>

Mr Dash Four <mr.dash.four@googlemail.com> writes:
> That isn't possible in my case, because on the right side I have IP ranges
> (from-to) and currently there isn't a PostgreSQL function which converts IP
> ranges to cidr/inet, but even if there was such function available, this may
> produce more than one cidr/inet ranges, so it won't be of much use.

Have you tried using the ip4r extension yet?

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support




view thread (5+ messages)  latest in thread

Message-ID: <m2391k2isf.fsf@2ndQuadrant.fr>
Permalink:  ../m2391k2isf.fsf@2ndQuadrant.fr/
Also on:    postgresql.org/message-id/m2391k2isf.fsf@2ndQuadrant.fr

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: dimitri@2ndQuadrant.fr, mr.dash.four@googlemail.com
  Subject: Re: BUG #7575: "between" does not work properly with inet/cidr addresses
  In-Reply-To: <m2391k2isf.fsf@2ndQuadrant.fr>
  References: <E1THijW-00022e-9T@wrigleys.postgresql.org> <15990.1348982762@sss.pgh.pa.us> <506837BC.3050305@googlemail.com> <m2391k2isf.fsf@2ndQuadrant.fr>

* 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