Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-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: connection.patch
Description: text/plain (26.7 KB)

Responses

pgsql-patches by date

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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group