Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGLDc-0001To-8V for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Mar 2013 03:22:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UGLDb-0007G8-O9 for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Mar 2013 03:22:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGLDb-0007G3-8F for pgsql-bugs@postgresql.org; Fri, 15 Mar 2013 03:22:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGLDW-0002Gq-N3 for pgsql-bugs@postgresql.org; Fri, 15 Mar 2013 03:22:06 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r2F3Lxw6020095; Thu, 14 Mar 2013 23:21:59 -0400 (EDT) From: Tom Lane To: georg.kindermann@gmx.at cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7942: Timestamp "19991231 240000" should not be out of range In-reply-to: References: Comments: In-reply-to georg.kindermann@gmx.at message dated "Thu, 14 Mar 2013 08:47:42 -0000" Date: Thu, 14 Mar 2013 23:21:59 -0400 Message-ID: <20094.1363317719@sss.pgh.pa.us> X-Pg-Spam-Score: -4.3 (----) 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 georg.kindermann@gmx.at writes: > select cast('19991231 240000' as timestamp); > --Produces >ERROR: timestamp out of range< Oddly enough, I just fixed that last week: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=542eeba26992305d872be699158cb3ab1c2be6e6 Weird how a bug can go unnoticed for ten years and then two people trip over it at almost the same time. 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