Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id C54059FBB77 for ; Wed, 14 Feb 2007 13:31:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 30900-04 for ; Wed, 14 Feb 2007 13:31:25 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.237]) by postgresql.org (Postfix) with ESMTP id 275BC9FBAD7 for ; Wed, 14 Feb 2007 13:31:25 -0400 (AST) Received: by nz-out-0506.google.com with SMTP id i11so275129nzh for ; Wed, 14 Feb 2007 09:31:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=hX8/ZD34MYhDo2AHD2HfhnUOE2WQJxtrNAA5/iGUrteX7yPUr0v9lxjoR19nI4Dcc/vdmVS7+db/6nkFTPgEG3CinxI7G+0wKGE+QXjinSn5HphnwivzPhrejAKupVvS8tt8aGSpoHxjyR4m1srxn4jj8UGLwpJgTq8eqZpb+QE= Received: by 10.35.97.17 with SMTP id z17mr1200220pyl.1171474285173; Wed, 14 Feb 2007 09:31:25 -0800 (PST) Received: from ?172.16.12.223? ( [12.192.18.226]) by mx.google.com with ESMTP id f57sm1474022pyh.2007.02.14.09.31.23; Wed, 14 Feb 2007 09:31:23 -0800 (PST) In-Reply-To: References: <1C85230A-C17D-4601-B84E-6F43176C5D6D@gmail.com> <53951298-D245-4EB2-9C3E-EA05A48C77BA@gmail.com> <1D8F84DE-26E9-4C88-B6F4-A7A74B85DE5C@gmail.com> <3599D18B-946A-461B-9429-89E0A4868345@gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com> Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Jeffrey Cox Subject: Re: getProcedureColumns Date: Wed, 14 Feb 2007 12:31:19 -0500 To: Kris Jurka X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/60 X-Sequence-Number: 16616 On Feb 14, 2007, at 10:32 AM, Kris Jurka wrote: > > > On Wed, 14 Feb 2007, Jeffrey Cox wrote: > >> I can make them handy, but when you say they don't work do you >> mean it crashes, or what exactly. I ask only because the DBMS >> seems to have varying support for the method overall. below 7.3 >> not being able to support the call at all, below 8.0 not >> supporting argument names and below 8.1 not supporting argument >> modes. when I say not supporting, I mean there is not column for >> the data in 'pg_proc'. I didn't actually try this against those >> over servers, but looked it up in the respective documentation of >> each server version. I suppose that information might reside in >> another table, I will have to install the other versions and find >> out. > > 1) Your tests try to create functions with named and output > parameters unconditionally. These can't be created on older servers. > ok will change > 2) The code you've added to TestUtil uses dollar quoting which > isn't available on all servers. > ok will change it. > 3) The code in getProcedureColumns fails with a "couldn't find a > column named ..." for older server versions. You need to either > add ", NULL as colname" to the sql for older versions or not fetch > these columns unconditionally. > yea.. I see that now. So in the end, what you are saying is stop being a ninny and fire up more versions of the DBMS and properly test this... sorry about that. Do you all have a recommended test setup. (i.e. do you have every version up and running?) Jeff >>> 1) It's better to send all your changes as one patch instead of >>> one per file. It makes it easier to apply. >> >> good to know, would you like me to resend them? >> > > No, that's just a minor inconvenience, not an actual problem. > > Kris Jurka