Re: Comments on Exclusion Constraints and related datatypes

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Comments on Exclusion Constraints and related datatypes
Date: 2010-06-03 01:47:43
Message-ID: 201006030147.o531lhD13152@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas wrote:
> > * inet datatypes don't have a commutative operator on which a unique
> > index can be built. There is no "overlaps" equivalent, which again is a
> > shame because that stops them being used with the new feature.
>
> This would be a nice thing to fix, and I was thinking about doing it,
> but I just ran out of time. I think it can be left for 9.1. I have
> not infrequently wanted to build an IP allocation database, and this
> would be perfect for that.

Added to TODO:

Add INET overlaps operator, for use by exclusion constraints

* http://archives.postgresql.org/pgsql-hackers/2010-03/msg00845.php

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ None of us is going to be here forever. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2010-06-03 02:34:44 Re: recovery getting interrupted is not so unusual as it used to be
Previous Message Bruce Momjian 2010-06-03 01:45:24 Re: Comments on Exclusion Constraints and related datatypes