Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X9Ma3-0004pZ-6e for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jul 2014 23:01:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X9Ma2-0003zQ-NK for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jul 2014 23:01:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X9Ma1-0003zH-MA for pgsql-bugs@postgresql.org; Mon, 21 Jul 2014 23:01:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X9MZy-0001S9-S0 for pgsql-bugs@postgresql.org; Mon, 21 Jul 2014 23:01:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s6LN18Ex028030; Mon, 21 Jul 2014 19:01:08 -0400 From: Tom Lane To: David G Johnston cc: pgsql-bugs@postgresql.org Subject: Re: Re: BUG #11014: Postgres can be put into an error state by setting invalid timezone. In-reply-to: <1405977349153-5812283.post@n5.nabble.com> References: <20140721194918.27765.11913@wrigleys.postgresql.org> <24902.1405974941@sss.pgh.pa.us> <1405977349153-5812283.post@n5.nabble.com> Comments: In-reply-to David G Johnston message dated "Mon, 21 Jul 2014 14:15:49 -0700" Date: Mon, 21 Jul 2014 19:01:08 -0400 Message-ID: <28029.1405983668@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 David G Johnston writes: > This does seem kind of a harsh for a mis-understanding that one cannot > specify a hours offset as a valid timezone identifier. ISTM the OP was > trying to set the timezone to EDT by specifying a -04 hours and 00 minutes > offset (- 04 00 = -0400 )...a 4-digit input like this shouldn't be > considered a -400 hour GMT offset... Perhaps so, but that's not the way it's been read by past PG releases. Changing that would be in the nature of a feature addition, not a bug fix, IMO. (In other words, if someone wants to do it, send in a patch ...) regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs