Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2A6BB2E0100 for ; Wed, 13 Feb 2008 20:35:08 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 53909-08 for ; Wed, 13 Feb 2008 20:35:05 -0400 (AST) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by postgresql.org (Postfix) with ESMTP id 279342E010C for ; Wed, 13 Feb 2008 20:35:05 -0400 (AST) Received: by wr-out-0506.google.com with SMTP id 71so348219wri.5 for ; Wed, 13 Feb 2008 16:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/xrLSGvfQtzTV3WZBJIFVLH9dIrwnqKWAhbBrPi+XgU=; b=Z/m+g7sWPBeeUBOK1aq9McLPUIchrlw9DHPltyEuDr8PyTP5Ajvrx5GBLuY/PCWsAywg+OuaAQ/ioZq2uIj+KTgNMXF1OhtecO0gcLmtHdPrVlOZoxbtjjF9vsZX+TLEr+ugn1qSX6fLwGW0mI3c8kvQ8f4NY8beM7m2B7zlw40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZEy2iMW04bFieuY8EeU6GSXvls8VrvWlflvp4rd0Nfkx/KDoc/uBZbL/rQxWvb0gFS+G159ID4Py3yxRBDWk+Kh5MlYWTFbLJaj64le9HbZN6qE2Kb15DXDNlK/jp3PGAkFYBs5Su4nhnFFXXLZBEx+bxQ7guIX7s1xn2CyaP3U= Received: by 10.114.166.1 with SMTP id o1mr708750wae.71.1202949303165; Wed, 13 Feb 2008 16:35:03 -0800 (PST) Received: by 10.114.103.11 with HTTP; Wed, 13 Feb 2008 16:35:03 -0800 (PST) Message-ID: <1d4e0c10802131635h65bb34cbt9b7c558299c77be3@mail.gmail.com> Date: Thu, 14 Feb 2008 01:35:03 +0100 From: "Guillaume Smet" To: "Kris Jurka" Subject: Re: JDBC, prepared queries, and partitioning Cc: "Josh Berkus" , "Simon Riggs" , "Stephen Denne" , "PostgreSQL - JDBC" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802131005.30553.josh@agliodbs.com> <1202939756.16770.517.camel@ebony.site> <200802131423.24613.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/80 X-Sequence-Number: 18287 On Feb 13, 2008 11:29 PM, Kris Jurka wrote: > Yes, but you then lose some of the features that are only available with > the V3 protocol: ParameterMetaData, some ResultSetMetaData calls, OUT > parameters for CallableStatements. I think that's the list, but couldn't > swear to it. I usually advise people to use protocol v2 for typical web usage and we experienced another problem. A few exceptions are ambiguous with v2 and perfectly identifiable with v3 (foreign key violation for example). There are apps relying on that and we were forced to use v3 for them (and we have lower performances). -- Guillaume