Re: check for overlapping time intervals

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: check for overlapping time intervals
Date: 2013-04-22 10:36:22
Message-ID: kl33os$hkc$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Wolfgang Meiners, 22.04.2013 12:19:
> Is there a simpler way to check for overlapping timeintervals? I ask
> this question, because i have more similar tables with similar layout
> and would have to write similar functions again and again.

Do you have the possibility to upgrade to 9.2?

The range types introduced with 9.2 seem to be *exactly* what you need.

Regards
Thomas

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Wolfgang Meiners 2013-04-22 18:06:31 Re: check for overlapping time intervals
Previous Message Wolfgang Meiners 2013-04-22 10:19:17 check for overlapping time intervals