Attached is a patch to remove some redundant code in the JDBC driver.
Bruce Momjian <bruce@momjian.us>
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 Bengtsson
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/jdbc/org/postgresql/Connection.java | modified | +31 −71 |
| src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java | modified | +3 −209 |
| src/interfaces/jdbc/org/postgresql/jdbc2/Statement.java | modified | +5 −211 |
| src/interfaces/jdbc/org/postgresql/Statement.java | modified | +226 −17 |