On Thu, 4 Mar 2004, Francois Ochsenbein wrote:
> It looks like a bug! Even postgres specifications (e.g. at
> http://www.postgresql.org/docs/7.3/static/sql-syntax.html)
> explicitely states the left-to-diright associativity of
> the arithmetic operators in SQL statements
> (table 1-1 near the bottom). Therefore interpreting
> a/b/c as a/(b/c) violates the definitions !
Maybe I did Postgres an injustice - I just checked and the current version evaluates this correctly, so no need for a bug report.
-- Clive Page Dept of Physics & Astronomy, University of Leicester, Tel +44 116 252 3551 Leicester, LE1 7RH, U.K. Fax +44 116 252 3311Received on 2004-03-04Z10:36:26