Re: [HACKERS] Mentors needed urgently for SoC & PostgreSQL Student Internships

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, lembark(at)wrkhors(dot)com, pgsql-hackers(at)postgresql(dot)org, pgsql-www(at)postgresql(dot)org
Subject: Re: [HACKERS] Mentors needed urgently for SoC & PostgreSQL Student Internships
Date: 2009-04-02 20:07:04
Message-ID: 603c8f070904021307h5d9fc9a6oa29183aee7e77fd9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On Thu, Apr 2, 2009 at 2:58 PM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> Also, it would be nice to generalize the thing so that it works not only
> with intervals of time, but also floats, integers, numerics etc. The concept
> of an interval is not really tied to timestamps, even though that's probably
> the most common use case in the business world.

Suddenly this thread has my undivided attention.

A does-not-overlap operator would be awesome. A does-not-overlap
index on a column whose value is a range would be awesome beyond
words.

As a simple example, consider an application whose job is to allocate
subnets out of some larger IP block. Today, I typically handle cases
of this type by defining triggers that generate the ends of the range
and all the intermediate values and insert them into a side table with
a unique index. It's really the pits, and unworkable for large
ranges.

...Robert

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-04-02 20:23:13 Re: fix - function call with variadic parameter for type "any"
Previous Message Tom Lane 2009-04-02 20:05:29 Re: Crash in gist insertion on pathological box data

Browse pgsql-www by date

  From Date Subject
Next Message Josh Berkus 2009-04-02 21:27:01 Re: [pgsql-www] Mentors needed urgently for SoC & PostgreSQL Student Internships
Previous Message Jeff Davis 2009-04-02 19:40:16 Re: [HACKERS] Mentors needed urgently for SoC & PostgreSQL Student Internships