pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Bouska <ludek@bouska.info>
To: pgsql-bugs@postgresql.org
Subject: BUG #6124: overlaps
Date: Wed, 20 Jul 2011 06:09:48 GMT
Message-ID: <201107200609.p6K69mNj055558@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6124
Logged by:          Ludek Bouska
Email address:      ludek@bouska.info
PostgreSQL version: 8.3.7
Operating system:   FreeBSD 7.2-RELEASE-p3
Description:        overlaps
Details: 

script
select ('20110720'::date,'20110721'::date) overlaps
('20110721'::date,'20110721'::date)
gives false.

It is necessary to make it as
select ('20110720'::date,'20110721'::date+'1 day'::Interval) overlaps
('20110721'::date,'20110721'::date)
for the 20110721 be realy overlapped.



view thread (3+ messages)  latest in thread

Message-ID: <201107200609.p6K69mNj055558@wwwmaster.postgresql.org>
Permalink:  ../201107200609.p6K69mNj055558@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201107200609.p6K69mNj055558@wwwmaster.postgresql.org

 · 

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: ludek@bouska.info
  Subject: Re: BUG #6124: overlaps
  In-Reply-To: <201107200609.p6K69mNj055558@wwwmaster.postgresql.org>
  References: <201107200609.p6K69mNj055558@wwwmaster.postgresql.org>

* 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