Merging JDBC1 and JDBC2 similarities

From: Anders Bengtsson <ndrsbngtssn(at)yahoo(dot)se>
To: <pgsql-patches(at)postgresql(dot)org>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Merging JDBC1 and JDBC2 similarities
Date: 2001-07-22 12:17:32
Message-ID: Pine.LNX.4.33.0107221408470.5772-200000@sensenet.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches


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
_____________________________________________________________________
A n d e r s B e n g t s s o n ndrsbngtssn(at)yahoo(dot)se
Stockholm, Sweden

Attachment Content-Type Size
connection.patch text/plain 26.7 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-07-23 16:20:46 RE: Help! Driver cannot be loaded.
Previous Message Bruce Momjian 2001-07-21 21:27:58 Re: [PATCHES] Re: [PATCH] Cleanup of JDBC character encoding

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-07-22 19:27:36 Is this list working?
Previous Message haering_python 2001-07-22 00:13:35 Re: [BUGS] WIN32 Non Blocking