Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 3B7AFCBE9C3 for ; Thu, 15 Dec 2011 12:20:36 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RbE2t-0004oA-RH for pgsql-bugs@postgresql.org; Thu, 15 Dec 2011 16:20:36 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 15 Dec 2011 10:20:23 -0600 Message-Id: <4EE9C9DF0200002500043D02@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Thu, 15 Dec 2011 10:20:15 -0600 From: "Kevin Grittner" To: , Subject: Re: BUG #6340: to_timestamp() miscalculates Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201112/114 X-Sequence-Number: 31925 wrote: > test to run: select to_timestamp('2011,03,27,02,11,11', > 'YYYY,MM,DD,HH24,MI,SS') > > and the run: select to_timestamp('2011,03,27,03,11,11', > 'YYYY,MM,DD,HH24,MI,SS') > > It miscalculates 02 hour to 03 hour by some reason I don't know what time zone you're in, or whether daylight saving time kicks in on that date. *Is* there a 02:11:11 on that date, or is that when time "springs forward" by an hour in the spring for your locale? -Kevin