Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tl6dL-0005ib-GH for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Dec 2012 23:31:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tl6dK-0001dO-Kb for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Dec 2012 23:31:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tl6dJ-0001dI-PR for pgsql-bugs@postgresql.org; Tue, 18 Dec 2012 23:31:33 +0000 Received: from outmail149122.authsmtp.com ([62.13.149.122]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tl6dH-0004oG-Af for pgsql-bugs@postgresql.org; Tue, 18 Dec 2012 23:31:33 +0000 Received: from mail-c233.authsmtp.com (mail-c233.authsmtp.com [62.13.128.233]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id qBINVSb9011018; Tue, 18 Dec 2012 23:31:28 GMT Received: from Sidney-Stratton.local (or-67-237-241-137.dhcp.embarqhsd.net [67.237.241.137]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id qBINVJni022607; Tue, 18 Dec 2012 23:31:20 GMT Message-ID: <50D0FCC6.10905@agliodbs.com> Date: Tue, 18 Dec 2012 15:31:18 -0800 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org CC: Jeff Davis Subject: Arbitrary whitespace restrictions on range types X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Server-Quench: 077da36e-496b-11e2-a49c-0025907707a1 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdyZgscClZXSx8a IioLCC5HRQ8+YBZL BAkGMA9GIUINWEQL c1ADfh1/PVZbHwkA AXYJWF5XUVdzWC1z bBRTbgJDYE5PQQRp V1dLQU1SWkQaeGJn fEBHUhtwcQVBNn93 ZU4sXndcCBV5cxNg RkdSR3AHZDJidTEb WRNFdwNWdQpKeRhF bQF+GgJPMzxDJCsi DkcsPzEtMC5HIS9Y ChsANk4IQE0XHzk6 XFgFG301FEsKSm0v PgQrMTb9 X-Authentic-SMTP: 61633136333939.1021:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 67.237.241.137/23 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) 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 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