]> granicus.if.org Git - postgresql/commit
This patch merges the identical methods from the JDBC1 and JDBC2
authorBruce Momjian <bruce@momjian.us>
Mon, 30 Jul 2001 14:51:19 +0000 (14:51 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 30 Jul 2001 14:51:19 +0000 (14:51 +0000)
commit509f5d241ac2fe26146d227ddb0e56eb4d7ca33c
tree7343d2a127be77e5ea2b42011b6775c1d53b9feb
parent462b7d46d1feaf6a43a77bc8470a387316c02997
This patch merges the identical methods from the JDBC1 and JDBC2
connection implementations (org.postgresql.jdbc[1|2].Connection) into
their superclass (org.postgresql.Connection).

It also changes the close() methods of Connection and PG_Stream, so that
PG_Stream no longer is responsible for sending the termination packet 'X'
to the backend. I figured that protocol-level stuff like that belonged in
Connection more than in PG_Stream.

Anders Bengtsson
src/interfaces/jdbc/org/postgresql/Connection.java
src/interfaces/jdbc/org/postgresql/PG_Stream.java
src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java
src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java