Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 8B7246323F0 for ; Sun, 3 May 2009 20:51:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 33475-09 for ; Sun, 3 May 2009 20:51:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 5CA5463329E for ; Sun, 3 May 2009 20:51:18 -0300 (ADT) Received: from 219-89-243-186.adsl.xtra.co.nz ([219.89.243.186] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1M0lSj-0001P3-0W; Mon, 04 May 2009 11:51:13 +1200 Message-ID: <49FE2DEE.809@opencloud.com> Date: Mon, 04 May 2009 11:51:10 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Tom Lane CC: John Lister , pgsql-jdbc@postgresql.org Subject: Re: Very strange performance decrease when reusing a PreparedStatement References: <5C2E1645-73B6-4509-96CD-FA77869516AB@noopsis.fr> <49F71EDD.2070200@opencloud.com> <02437794-A78D-449C-843F-B823195F9623@noopsis.fr> <491f66a50905030310j5b4cdcd8jbf4f6e757c2ba580@mail.gmail.com> <49FD7383.1010005@kickstone.com> <11395.1241361696@sss.pgh.pa.us> <49FE2D45.2070308@opencloud.com> In-Reply-To: <49FE2D45.2070308@opencloud.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200905/29 X-Sequence-Number: 19579 Oliver Jowett wrote: > Tom Lane wrote: > >> There are certainly cases where lack of parameter type information could >> lead to a poor plan, but they are corner cases. Sorry, I read that as "lack of parameter information" which is what this comment is about: > I fear they are less of a corner case than you believe - they seem to > pop up regularly here on the JDBC list. The parameter type issues themselves are mostly resolved AFAIK. -O