Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 84796CBE9C3 for ; Thu, 15 Dec 2011 11:51:59 -0400 (AST) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RbDbC-000492-SJ for pgsql-bugs@postgresql.org; Thu, 15 Dec 2011 15:51:59 +0000 Received: from [204.145.120.229] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RbDb0-0001lt-FP for pgsql-bugs@postgresql.org; Thu, 15 Dec 2011 15:51:46 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1RbDb0-00045g-50 for pgsql-bugs@postgresql.org; Thu, 15 Dec 2011 15:51:46 +0000 Date: Thu, 15 Dec 2011 15:51:46 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6340: to_timestamp() miscalculates To: pgsql-bugs@postgresql.org From: hfuxelius@gmail.com X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201112/112 X-Sequence-Number: 31923 The following bug has been logged on the website: Bug reference: 6340 Logged by: Hans-Henrik Fuxelius Email address: hfuxelius@gmail.com PostgreSQL version: 9.1.1 Operating system: Ubuntu 11.10 Description: = 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