Re: JDBC improvements

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Nicolas Verger <nicolas(at)verger(dot)net>
Cc: Barry Lind <barry(at)xythos(dot)com>, Psql-Hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC improvements
Date: 2002-02-23 00:26:06
Message-ID: 200202230026.g1N0Q6r10332@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc


Just send over the patch and we will add it for 7.3.

---------------------------------------------------------------------------

Nicolas Verger wrote:
> > -----Message d'origine-----
> > De : Barry Lind [mailto:barry(at)xythos(dot)com]
> > Nicolas,
> >
> > AFAIK you should be able to get the EXPLAIN plan from the jdbc driver.
> > All INFO messages from the backend are treated as warnings by the jdbc
> > driver. If you do a getWarnings() you should be able to get the explain
> > plan information.
> >
> > Cancel query is on the jdbc todo list. However I don't know of anyone
> > that plans to implement it. So a patch that adds that functionality
> > would be welcome.
> >
> > thanks,
> > --Barry
> >
> >
>
> Ok, the getWarnings() method works on the Connection but not on the Statment
> nor ResultSet... Why ?
> I look in the source and it's just a little patch to do it.
> I'm not used in GPL licence so if I make this patch what may I do with it ?
>
> I watched for cancel query too, and I may work on it too ...
>
> Nicolas
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark kirkwood 2002-02-23 00:29:56 Re: [SQL] Transient Disk Usage Higher In 7.2 ?
Previous Message Tom Lane 2002-02-23 00:20:57 Re: Storage Location Patch Proposal for V7.3

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2002-02-23 00:31:41 Re: Patch : Re: JDBC improvements
Previous Message Bruce Momjian 2002-02-22 23:28:42 Re: Numeric decimal digits and radix to DatabaseMetaData.getColumns()