Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E8AFC1337BE4 for ; Wed, 6 Apr 2011 20:17:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 31019-05 for ; Wed, 6 Apr 2011 23:17:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 7FD2B1337BE2 for ; Wed, 6 Apr 2011 20:17:42 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p36NHgGN084505 for ; Wed, 6 Apr 2011 23:17:42 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p36NHgAR084504; Wed, 6 Apr 2011 23:17:42 GMT (envelope-from www) Date: Wed, 6 Apr 2011 23:17:42 GMT Message-Id: <201104062317.p36NHgAR084504@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5966: extract(epoch..) function error From: "Ricardo Solanilla" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201104/24 X-Sequence-Number: 29943 The following bug has been logged online: Bug reference: 5966 Logged by: Ricardo Solanilla Email address: info@abaco-tandil.com.ar PostgreSQL version: 8.3.0 b.1400 Operating system: windows nt Description: extract(epoch..) function error Details: -- try this select (extract(epoch from (date('2011-03-20'))) - extract(epoch from (date('2011-03-19')))) / 3600 -- it must be 24 (hours), only occurs in march 19,2011 -- in v. 8.0 work fine!!