X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E0EB9DAD01 for ; Mon, 24 Oct 2005 17:48:27 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50003-07 for ; Mon, 24 Oct 2005 20:48:23 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 7E053DAD42 for ; Mon, 24 Oct 2005 17:48:24 -0300 (ADT) Received: (qmail 21801 invoked from network); 24 Oct 2005 20:48:26 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 24 Oct 2005 20:48:26 -0000 In-Reply-To: <435D44B7.8030507@opencloud.com> References: <208DA2E0-0F01-4741-997A-B9B1CB31A6AD@fastcrypt.com> <435D44B7.8030507@opencloud.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Sergei Rogovskiy , pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Speed up fixes Date: Mon, 24 Oct 2005 16:48:25 -0400 To: Oliver Jowett X-Mailer: Apple Mail (2.734) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.022 required=5 tests=[AWL=0.022] X-Spam-Level: X-Archive-Number: 200510/117 X-Sequence-Number: 14048 I'm applying the others plus Ken Gries' patches as well. I'm not applying the escape processing one yet. Dave On 24-Oct-05, at 4:31 PM, Oliver Jowett wrote: > Dave Cramer wrote: > > >> I understand everything except the removal of >> replaceProcessingEnabled ? >> > > His diff was reversed by the looks of it, so that's actually new code. > > It looks like he is adding a new connection property > "replaceProcessingEnabled" which lets you disable escape processing > for all statements. I'm not convinced we want this, as when enabled > we wouldn't follow the JDBC spec. > > Sergei, can you send through whatever profiling results that show > that replace processing is a hotspot? Maybe we can speed up the no- > escapes case, rather than disabling them altogether which seems > like a bit of a blunt instrument.. > > -O > >