CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: momjian@hub.org 01/08/24 12:50:18
Modified files:
src/interfaces/jdbc/org/postgresql: Connection.java Field.java
src/interfaces/jdbc/org/postgresql/jdbc1: Connection.java
DatabaseMetaData.java
ResultSet.java
ResultSetMetaData.java
Statement.java
src/interfaces/jdbc/org/postgresql/jdbc2: Array.java
Connection.java
DatabaseMetaData.java
ResultSet.java
ResultSetMetaData.java
Log message:
Attached is a patch to fix the current issues with building under jdbc1.
This patch moves the logic that looks up TypeOid, PGTypeName, and
SQLTypeName from Field to Connection. It is moved to connection since
it needs to differ from the jdbc1 to jdbc2 versions and Connection
already has different subclasses for the two driver versions. It also
made sense to move the logic to Connection as some of the logic was
already there anyway.
Barry Lind