The following bug has been logged on the website:

Bug reference:      6424
Logged by:          Olaf
Email address:      o.bous...@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?


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to