1
+ Web Oct 7 22:00:00 BST 1998
2
+ - removed syncronised from Connection.ExecSQL(). See next entry.
3
+ - added new syncronised locking in the Connection.ExecSQL() and
4
+ FastPath.fastpath() methods. They now lock against the PG_Steam
5
+ object for the connection, which now provides full Thread Safety.
6
+ - Reposted ChangeLog as it's missing from CVS.
7
+
8
+ Modifications done since 6.3.2 was released and Sun Aug 30 11:33:06 BST 1998
9
+
10
+ - Fixed PreparedStatement.setObject as it didn't handle shorts
11
+ - ResultSet.getDate() now handles null dates (returns null ratrher
12
+ than a NullPointerException)
13
+ - ResultSetMetaData.getPrecision() new returns 0 for VARCHAR
14
+ - Field now caches the typename->oid in a Hashtable to speed things
15
+ up. It removes the need for some unnecessary queries to the backend.
16
+ - PreparedStatement.toString() now returns the SQL statement that it
17
+ will send to the backend. Before it did nothing.
18
+ - DatabaseMetaData.getTypeInfo() now does something.
19
+ - Connection now throws an exception if either of the user or password
20
+ properties are missing, as they are required for JDBC to work.
21
+ This occasionally occurs when the client uses the properties version
22
+ of getConnection(), and is a common question on the email lists.
23
+
24
+ Sun Aug 30 11:33:06 BST 1998
25
+
26
+ - Created ChangeLog file, and entered stuff done since 6.3.2 and today
27
+ - Change version number to 6.4 in Driver.java
28
+ - Added fix to DatabaseMetaData.getTables() submitted by
29
+ Stefan Andreasen <stefan@linux.kapow.dk>
30
+ - Added fix to DatabaseMetaData.getColumns() to handle patterns
31
+ submitted by Stefan Andreasen <stefan@linux.kapow.dk>
32
+ - Set TcpNoDelay on the connection, as this gives us a 10x speed
33
+ improvement on FreeBSD (caused by a bug in their TCP Stack). They
34
+ should fix the bug before 6.4 is released, but will keep this
35
+ in here unless it causes more problems.
36
+ Submitted by Jason Venner <jason@idiom.com>
37
+ - Removed a duplicate definition of fieldCache
38
+ - Added a more meaningful message when the connection is refused. It
39
+ now says:
40
+ Connection refused. Check that the hostname and port is
41
+ correct, and that the postmaster is running with the -i flag,
42
+ which enables TCP/IP networking.
43
+ - Removed kludge in PreparedStatement.setDate() that acted as a
44
+ temporary fix to a bug in SimpleDateFormat, as it broke date
45
+ handling in JDK 1.1.6.
46
+ - Modified PG_Stream and Connection, so that outbound data is now
47
+ buffered. This should give us a speed improvement, and reduce the
48
+ ammount of network packets generated.
49
+ - Removed duplicate code and optimised PG_Stream.
50
+ - PG_Stream now returns a more meaningful message when the connection
51
+ is broken by the backend. It now returns:
52
+ The backend has broken the connection. Possibly the action you
53
+ have attempted has caused it to close.
54
+ - Removed obsolete code from Connection.
55
+ - The error message returned when the authentication scheme is unknown
56
+ has been extended. It now reads:
57
+ Authentication type ### not supported. Check that you have
58
+ configured the pg_hba.conf file to include the client's IP
59
+ address or Subnet, and is using a supported authentication
60
+ scheme.
61
+ - Connection.getMetaData() now caches the instance returned, so
62
+ multiple calls will return the same instance.
63
+ - Created a test application that tests the DatabaseMetaData and
64
+ ResultSetMetaData classes.
65
+ - Replaced getString(#).getBytes() with getBytes(#) which should speed
66
+ things up, and reduce memory useage.
67
+ - Optimised DatabaseMetaData.getProcedures(), and implemented patterns
68
+ - Fixed NullPointerExceptions thrown when a field is null (Internal
69
+ to the driver, not caused by results from the backend.
70
+ DatabaseMetaData.getProcedures() is an example of a method that
71
+ causes this):
72
+ - ResultSetMetaData.getColumnName() now returns field# where
73
+ # is the column name.
74
+ - ResultSet.getObject() fixed
75
+ - Fixed bug in psql example that was affected by null fields
76
+ - DatabaseMetaData.getTables()
77
+ - DatabaseMetaData.getPrimaryKeys() ran a query with an ambiguous field
78
+ fixed.
79
+ - getTypeInfo() optimised to increase speed and reduce memory useage
80
+ - ResultSetMetaData.isCurrency() optimised and is now smaller.
81
+ - Removed unnecessary code fromResultSetMetaData.getCatalogName()
82
+ and getSchemaName().
83
+ - Created new class postgresql.util.PGmoney to map the money type
84
+ - Created new class postgresql.geometric.PGline to map the line type
85
+
0 commit comments