Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6066A1288B2C for ; Wed, 1 Feb 2012 10:15:27 -0400 (AST) Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rsay0-0002b1-Ns for pgsql-bugs@postgresql.org; Wed, 01 Feb 2012 14:15:26 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rsaxm-0004XZ-Gj for pgsql-bugs@postgresql.org; Wed, 01 Feb 2012 14:15:07 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1Rsaxi-0008Aq-V3 for pgsql-bugs@postgresql.org; Wed, 01 Feb 2012 14:15:02 +0000 Date: Wed, 01 Feb 2012 14:15:02 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6424: Possible error in time to seconds conversion To: pgsql-bugs@postgresql.org From: o.bousche@krohne.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/2 X-Sequence-Number: 32345 The following bug has been logged on the website: Bug reference: 6424 Logged by: Olaf Email address: o.bousche@krohne.com PostgreSQL version: 9.1.2 Operating system: Windows 7 - 64bits Description: = Should the query select extract(epoch from cast('2012-01-01 14:30:1' as timestamp) - cast('1970-01-01 0:0:0' as timestamp))) - = extract(epoch from (cast('2012-01-01 14:30:1' as timestamp))) return 0 instead of 3600?