Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 219481337B47 for ; Tue, 4 Jan 2011 13:17:14 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 65539-01 for ; Tue, 4 Jan 2011 17:17:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 5E18F1337B39 for ; Tue, 4 Jan 2011 13:17:06 -0400 (AST) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PaAVN-00072x-9a for pgsql-bugs@postgresql.org; Tue, 04 Jan 2011 09:17:05 -0800 Date: Tue, 4 Jan 2011 09:17:05 -0800 (PST) From: Gouse To: pgsql-bugs@postgresql.org Message-ID: <1294161425291-3327393.post@n5.nabble.com> Subject: to_timestamp returns the incorrect result for the DST fall over time. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.766 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201101/11 X-Sequence-Number: 29033 Hi I find that the to_timestamp giving the incorrect result for the DST time period. select to_timestamp('2010-03-28 01:00:03 243','YYYY-MM-DD HH24:MI:SS.MS') results '2010-03-28 02:00:03.243 + 01' , I am not sure if this is correct. select to_timestamp('2010-03-28 02:00:03 243','YYYY-MM-DD HH24:MI:SS.MS') results '2010-03-28 02:00:03.243 + 01' Note- The clokc on the system was GMT London. The date 2010-03-28 is the day of the DST. Postgres DB versoin is 8.0 Thanks, Gouse -- View this message in context: http://postgresql.1045698.n5.nabble.com/to-timestamp-returns-the-incorrect-result-for-the-DST-fall-over-time-tp3327393p3327393.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.