Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2F72B9F9FB6 for ; Sun, 7 Oct 2007 22:13:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 30292-01 for ; Sun, 7 Oct 2007 22:13:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D738E9F9F62 for ; Sun, 7 Oct 2007 22:13:26 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l981DGsj025625; Sun, 7 Oct 2007 21:13:16 -0400 (EDT) To: Kris Jurka cc: Heikki Linnakangas , Peter Kovacs , pgsql-jdbc@postgresql.org Subject: Re: PreparedStatement rounds doubles to scale 14 during update In-reply-to: References: <46DE7E7A.70208@enterprisedb.com> <46DE9C1F.6030407@enterprisedb.com> <46DEB80F.40008@enterprisedb.com> Comments: In-reply-to Kris Jurka message dated "Sun, 07 Oct 2007 18:47:24 -0400" Date: Sun, 07 Oct 2007 21:13:16 -0400 Message-ID: <25624.1191805996@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/63 X-Sequence-Number: 17635 Kris Jurka 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