From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Nicolas Verger <nicolas(at)verger(dot)net> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Patch : Re: JDBC improvements |
Date: | 2002-02-23 00:31:41 |
Message-ID: | 200202230031.g1N0Vf210699@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Nicolas Verger wrote:
> > > 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 ...
> >
> > We are BSD license. Is that what you meant? Sure, send it over to jdbc
> > list or patches list.
>
> Ok, so I send the first patch. It correct the propagation of the SQLWarnings
> to the Statement and the ResultSet
>
> Change are :
> Add method addWarnings(SQLWarning) into org.postgresql.ResultSet
> Add method addWarning(String) into org.postgresql.Statement
> Modify method execute() into org.postgresql.core.QueryExecutor
> - Clear the warning of the current statement before process the query
> - Set the new warnings to the statement too
> - Add the statement warning to the ResultSet when the query is processed
>
[ Attachment, skipping... ]
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-02-23 00:41:37 | Re: |
Previous Message | Mark kirkwood | 2002-02-23 00:29:56 | Re: [SQL] Transient Disk Usage Higher In 7.2 ? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-02-23 02:07:07 | Re: FW: LISTEN/NOTIFY support in JDBC driver? |
Previous Message | Bruce Momjian | 2002-02-23 00:26:06 | Re: JDBC improvements |