pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Florian Weimer <Florian.Weimer@RUS.Uni-Stuttgart.DE>
To: pgsql-sql@postgresql.org
Subject: Determining if two subnets intersect
Date: 23 Jul 2001 18:56:45 +0200
Message-ID: <tgn15v8tyq.fsf@mercury.rus.uni-stuttgart.de> (raw)

Is there some efficient PostgreSQL expression which is true if and
only if two subnets (given as values of type cidr) have non-empty
intersection (even if the intersection is not a CIDR network)?

-- 
Florian Weimer 	                  Florian.Weimer@RUS.Uni-Stuttgart.DE
University of Stuttgart           http://cert.uni-stuttgart.de/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898



view thread (3+ messages)  latest in thread

Message-ID: <tgn15v8tyq.fsf@mercury.rus.uni-stuttgart.de>
Permalink:  ../tgn15v8tyq.fsf@mercury.rus.uni-stuttgart.de/
Also on:    postgresql.org/message-id/tgn15v8tyq.fsf@mercury.rus.uni-stuttgart.de

 · 

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-sql@postgresql.org
  Cc: Florian.Weimer@RUS.Uni-Stuttgart.DE
  Subject: Re: Determining if two subnets intersect
  In-Reply-To: <tgn15v8tyq.fsf@mercury.rus.uni-stuttgart.de>

* 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