pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: robert.kruus@gov.sk.ca
To: pgsql-bugs@postgresql.org
Subject: BUG #13608: 3 argument range constructor functions
Date: Wed, 02 Sep 2015 22:03:16 +0000
Message-ID: <20150902220316.1354.64214@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (2+ messages)  latest in thread

Message-ID: <20150902220316.1354.64214@wrigleys.postgresql.org>
Permalink:  ../20150902220316.1354.64214@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150902220316.1354.64214@wrigleys.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: robert.kruus@gov.sk.ca
  Subject: Re: BUG #13608: 3 argument range constructor functions
  In-Reply-To: <20150902220316.1354.64214@wrigleys.postgresql.org>
  References: <20150902220316.1354.64214@wrigleys.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