Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXGOi-0002qy-Su for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Sep 2015 22:20:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZXGOi-0001At-FW for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Sep 2015 22:20:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZXG8a-00082Y-3q for pgsql-bugs@postgresql.org; Wed, 02 Sep 2015 22:04:12 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZXG8S-0000st-B2 for pgsql-bugs@postgresql.org; Wed, 02 Sep 2015 22:04:10 +0000 MIME-Version: 1.0 Subject: BUG #13608: 3 argument range constructor functions To: pgsql-bugs@postgresql.org From: robert.kruus@gov.sk.ca Date: Wed, 02 Sep 2015 22:03:16 +0000 Message-ID: <20150902220316.1354.64214@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13608 Logged by: Robert Kruus Email address: robert.kruus@gov.sk.ca PostgreSQL version: 9.3.9 Operating system: FreeBSD (9.2) Description: The int4range, int8range, daterange functions seem to be ignoring the 3rd argument which specifies the interval bounds. i.e. SELECT daterange('2010-01-01'::date, '2011-01-01'::date, '()'::text); daterange ------------------------- [2010-01-02,2011-01-02) It works fine for numrange, tsrange, tstzrange. i.e. SELECT numrange(1,4, '()'); numrange ---------- (1,4) PostgreSQL 9.3.9 on amd64-portbld-freebsd9.2, compiled by FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610, 64-bit -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs