On Fri, Jan 3, 2014 at 5:55 PM, Adrian Klaver <adrian.klaver@xxxxxxxxx> wrote: > Only thing I can think of is the JDBC driver and Postgres have a difference > of opinion on the precision of double precision. What happens if you > eliminate the double precision cast? This brings up the point as well, don't use floating point numbers if you want precise answers. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general