pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-bugs@postgresql.org
Cc: Jeff Davis <pgsql@j-davis.com>
Subject: Arbitrary whitespace restrictions on range types
Date: Tue, 18 Dec 2012 15:31:18 -0800
Message-ID: <50D0FCC6.10905@agliodbs.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Jeff, Hackers:

Is there a strong reason why this has to error?

postgres=# select '[,]'::TSTZRANGE
postgres-# ;
 tstzrange
-----------
 (,)
(1 row)

postgres=# select '[, ]'::TSTZRANGE;
ERROR:  invalid input syntax for type timestamp with time zone: " "
LINE 1: select '[, ]'::TSTZRANGE

--Josh

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


-- 
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 (3+ messages)  latest in thread

Message-ID: <50D0FCC6.10905@agliodbs.com>
Permalink:  ../50D0FCC6.10905@agliodbs.com/
Also on:    postgresql.org/message-id/50D0FCC6.10905@agliodbs.com

 · 

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: josh@agliodbs.com, pgsql@j-davis.com
  Subject: Re: Arbitrary whitespace restrictions on range types
  In-Reply-To: <50D0FCC6.10905@agliodbs.com>
  References: <50D0FCC6.10905@agliodbs.com>

* 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