Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 4A1C9B5DC0F for ; Thu, 1 Sep 2011 05:27:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 96524-06 for ; Thu, 1 Sep 2011 08:27:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 2E349B5DC06 for ; Thu, 1 Sep 2011 05:27:27 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p818RR0O059212 for ; Thu, 1 Sep 2011 08:27:27 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p818RRBg059211; Thu, 1 Sep 2011 08:27:27 GMT (envelope-from www) Date: Thu, 1 Sep 2011 08:27:27 GMT Message-Id: <201109010827.p818RRBg059211@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6192: Incorrect result from operator "overlaps" From: "Incorrect result from operator "overlaps"" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201109/8 X-Sequence-Number: 31025 The following bug has been logged online: Bug reference: 6192 Logged by: Incorrect result from operator "overlaps" Email address: wolfmoon@o2.pl PostgreSQL version: 9.0.4 Operating system: Debian/Sid Description: Incorrect result from operator "overlaps" Details: SELECT ('2011-08-31'::date,'2011-08-31'::date) overlaps ('2011-08-1'::date,'2011-08-31'::date); Returns false, should return true. SELECT ('2011-08-31'::date,'2011-08-31'::date) overlaps ('2011-08-1'::date,'2011-09-1'::date); Returns true, as it should. SELECT ('2011-08-31'::date,'2011-08-31'::date) overlaps ('2011-08-31'::date,'2011-09-1'::date); Returns true, as it should. Tested in versions 8.3.14, 8.4.7 and 9.0.4.