pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeffrey Cox <namredips@gmail.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getProcedureColumns
Date: Wed, 14 Feb 2007 12:31:19 -0500
Message-ID: <110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0702141026340.23853@leary.csoft.net>
References: <1C85230A-C17D-4601-B84E-6F43176C5D6D@gmail.com>
	<Pine.BSO.4.64.0701311619160.27765@leary2.csoft.net>
	<53951298-D245-4EB2-9C3E-EA05A48C77BA@gmail.com>
	<Pine.BSO.4.64.0701311846100.18318@leary2.csoft.net>
	<1D8F84DE-26E9-4C88-B6F4-A7A74B85DE5C@gmail.com>
	<Pine.BSO.4.64.0702140133500.4318@leary.csoft.net>
	<3599D18B-946A-461B-9429-89E0A4868345@gmail.com>
	<Pine.BSO.4.64.0702141026340.23853@leary.csoft.net>


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




view thread (21+ messages)  latest in thread

Message-ID: <110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com>
Permalink:  ../110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com/
Also on:    postgresql.org/message-id/110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: namredips@gmail.com, books@ejurka.com
  Subject: Re: getProcedureColumns
  In-Reply-To: <110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com>
  References: <1C85230A-C17D-4601-B84E-6F43176C5D6D@gmail.com> <Pine.BSO.4.64.0701311619160.27765@leary2.csoft.net> <53951298-D245-4EB2-9C3E-EA05A48C77BA@gmail.com> <Pine.BSO.4.64.0701311846100.18318@leary2.csoft.net> <1D8F84DE-26E9-4C88-B6F4-A7A74B85DE5C@gmail.com> <Pine.BSO.4.64.0702140133500.4318@leary.csoft.net> <3599D18B-946A-461B-9429-89E0A4868345@gmail.com> <Pine.BSO.4.64.0702141026340.23853@leary.csoft.net> <110D999D-C0C2-47D8-8905-56B3CA04ED45@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox