Re: PreparedStatement rounds doubles to scale 14 during update

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, Peter Kovacs <maxottovonstirlitz(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PreparedStatement rounds doubles to scale 14 during update
Date: 2007-10-08 01:13:16
Message-ID: 25624.1191805996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Kris Jurka <books(at)ejurka(dot)com> writes:
> Actually you'll see different behavior with "SET extra_float_digits=2".
> Is there a reason we shouldn't set this when we create a connection?

Makes sense to me.

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2007-10-08 01:50:31 Re: PreparedStatement rounds doubles to scale 14 during update
Previous Message Kris Jurka 2007-10-07 23:33:36 Re: [PATCH] Stop test cases from leaking connections