Thread: JDBC Statement cleanup patch

JDBC Statement cleanup patch

From
Anders Bengtsson
Date:
Hello,
Attached is a patch to remove some redundant code in the JDBC driver.

* Merges identical code from org.postgresql.jdbc[1|2].Statement into
  org.postgresql.Statement.
* Moves escapeSQL() method from Connection to Statement (the only place
  it's used)
* Minor cleanup of the new isolation level stuff.
* Minor cleanup of version string handling.

/Anders
_____________________________________________________________________
A n d e r s  B e n g t s s o n                   ndrsbngtssn@yahoo.se
Stockholm, Sweden

Attachment

Re: [PATCHES] JDBC Statement cleanup patch

From
Bruce Momjian
Date:
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.

>
> Hello,
> Attached is a patch to remove some redundant code in the JDBC driver.
>
> * Merges identical code from org.postgresql.jdbc[1|2].Statement into
>   org.postgresql.Statement.
> * Moves escapeSQL() method from Connection to Statement (the only place
>   it's used)
> * Minor cleanup of the new isolation level stuff.
> * Minor cleanup of version string handling.
>
> /Anders
> _____________________________________________________________________
> A n d e r s  B e n g t s s o n                   ndrsbngtssn@yahoo.se
> Stockholm, Sweden

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl

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

Re: [PATCHES] JDBC Statement cleanup patch

From
Bruce Momjian
Date:
Patch applied.  Thanks.


>
> Hello,
> Attached is a patch to remove some redundant code in the JDBC driver.
>
> * Merges identical code from org.postgresql.jdbc[1|2].Statement into
>   org.postgresql.Statement.
> * Moves escapeSQL() method from Connection to Statement (the only place
>   it's used)
> * Minor cleanup of the new isolation level stuff.
> * Minor cleanup of version string handling.
>
> /Anders
> _____________________________________________________________________
> A n d e r s  B e n g t s s o n                   ndrsbngtssn@yahoo.se
> Stockholm, Sweden

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl

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