summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc
AgeCommit message (Collapse)Author
2004-01-07Translation updatesPeter Eisentraut
2004-01-05Translation updatesPeter Eisentraut
2003-12-18patch for new OID74TestDave Cramer
2003-12-18backpatch for OID74Test to conform with jdbc testsDave Cramer
2003-12-18backpatch for rs.previous from Kris Jurka, reported by Andrew FyfeDave Cramer
2003-12-18patch for building for an alternate portDave Cramer
2003-12-18back patch by Kris Jurka to get the correct protocol version from the serverDave Cramer
2003-12-17back patching fix for compat 7.1 binary stream issues with the new protocolDave Cramer
added test for same
2003-12-13patch for returning database metadata as system objects from Kris JurkaDave Cramer
2003-12-12add missing SQLState by Patrick HigginsDave Cramer
2003-12-12cancel row updates sets values to null by Kris JurkaDave Cramer
2003-12-12patch to indicate why test cases failed from Oliver JowettDave Cramer
2003-12-12fix casting pooled connections to PGStatement problem patch by JariPDave Cramer
2003-12-12patch to build under jdk1.1 from Richard ScrantonDave Cramer
2003-12-12binary stream patch by Kris Jurka fixes empty stream failureDave Cramer
2003-12-12metadata encoding patch from Kris JurkaDave Cramer
2003-12-11patch for unique foreign keys and test case from Kris JurkaDave Cramer
2003-12-11patch to make PSQLState serializable, and a test case for itDave Cramer
added a test case for getLastOID
2003-12-10incremented the build number to 210Dave Cramer
2003-12-05backpatch for driver threadsafe problemsDave Cramer
2003-12-05patch from Kris Jurka to allow the server end port to be specified when runningDave Cramer
regression tests, this is a backpatch to 7.4
2003-11-15Translation updatesPeter Eisentraut
2003-10-30use the result set to set the fetchsizeDave Cramer
2003-10-29Patches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not ↵Dave Cramer
automatically delete cursors
2003-10-15New translationPeter Eisentraut
2003-10-09Protected access to variable m_preparedCount via synchronizedJan Wieck
function to prevent multiple threads using automatic cursors on the same connection from stomping over each others cursor. Jan
2003-09-23Fix to properly handle timezone offsets that are partial hours. If the offsetBarry Lind
was a partial hour and less than gmt (i.e. -02:30) the code would corrupt the minutes part. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-09-23A fix for jdbc regression test submitted yesterday by Kim Ho at RedhatBarry Lind
Modified Files: ResultSetTest.java
2003-09-22Additional jdbc regression tests submitted by Oliver Jowett. Some tests areBarry Lind
currently commented out, pending fixes for the bugs these tests uncovered. Modified Files: jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java Added Files: jdbc/org/postgresql/test/jdbc2/CursorFetchTest.java
2003-09-22Applied jdbc patch from Kim Ho at RedHat to improve boolean support, as wellBarry Lind
as some additional regression tests for this an other recent changes. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/test/jdbc2/DateTest.java jdbc/org/postgresql/test/jdbc2/ResultSetTest.java jdbc/org/postgresql/test/jdbc2/TimeTest.java jdbc/org/postgresql/test/jdbc2/TimestampTest.java
2003-09-18Applied patch from Oliver Jowett to clean up some instances where the wrongBarry Lind
type was being reported for PREPAREs. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java
2003-09-18Small jdbc patch from Kim Ho at RedHat to fix some boolean problemsBarry Lind
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
2003-09-18A minor fix to jdbc regression testsBarry Lind
Modified Files: jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataPropertiesTest.java
2003-09-17Applied patch to jdbc from Kim Ho at RedHat, fixing improper handling of ↵Barry Lind
empty queries under the V3 protocol Modified Files: jdbc/org/postgresql/core/QueryExecutor.java
2003-09-17Applied patch for jdbc from Kim Ho at RedHat to more correctly deal with ↵Barry Lind
boolean values Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
2003-09-17Fixed jdbc to correctly report that constraints are supportedBarry Lind
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-09-17Applied patch from Fernando Nasser of RedHat to fix some error messagesBarry Lind
that would not get correctly looked up in the translation files for jdbc Modified Files: jdbc/org/postgresql/errors.properties jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-09-17Applied patch from Kim Ho at redhat to improve boolean and bit handlingBarry Lind
in the jdbc driver Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc3/AbstractJdbc3Statement.java
2003-09-13More SQLState updates from Kim Ho at Redhat.Barry Lind
Also a patch from Kris Jurka to correctly report SQLState support. Modified Files: jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/fastpath/Fastpath.java jdbc/org/postgresql/geometric/PGbox.java jdbc/org/postgresql/geometric/PGcircle.java jdbc/org/postgresql/geometric/PGline.java jdbc/org/postgresql/geometric/PGlseg.java jdbc/org/postgresql/geometric/PGpath.java jdbc/org/postgresql/geometric/PGpoint.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSetMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSetMetaData.java jdbc/org/postgresql/jdbc2/Array.java jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java jdbc/org/postgresql/util/PGmoney.java jdbc/org/postgresql/util/PSQLState.java
2003-09-09Clean up some unused import warnings in the example jdbc codeBarry Lind
2003-09-09Additional SQLState work for JDBC - thanks to Kim Ho at Redhat for input on thisBarry Lind
Modified Files: jdbc/build.xml jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/util/PSQLState.java
2003-09-08Opps, can't forget the new file. This is part of the last commit to applyBarry Lind
the redhat patch for SQLState support. Added Files: PSQLState.java
2003-09-08This set of changes applies a patch from KHO at redhat to add some SQLStateBarry Lind
support to the jdbc driver. That patch needed some work: it assumed the sqlcode in a server message was fixed in its position, the patch lost the ability to pass exceptions, and the patch missed a couple of places where server errors where being received. In addition to fixing the above, I also added full support for the V3 protocol error message syntax, I reversed the order of arguments in the PSQLException constructor to more closely follow the constructors for SQLException, I changed the new constructors that take PSQLState to take Object for additional parameters as the old ones did. Still todo are to add SQLState values to all existing exceptions thrown in the driver and add support for parsing the V3 protocol format for notices. Modified Files: jdbc/build.xml jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/errors.properties jdbc/org/postgresql/core/Encoding.java jdbc/org/postgresql/core/PGStream.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/fastpath/Fastpath.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/util/MessageTranslator.java jdbc/org/postgresql/util/PSQLException.java
2003-08-26Attempt to fix setMaxFieldSize() logic that was checked in yesterday.Barry Lind
I think this should fix the problem, but since I don't have a reproducable test case, I can't be sure. This problem is reported by Kim Ho of redhat, who will test this fix. This also includes a test case for the original functionality. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/test/jdbc2/ResultSetTest.java
2003-08-24Applied patches from Oliver Jowett to fix the following bugs:Barry Lind
- adds a finalizer method to AbstractJdbc1Statement to clean up in the case of poor user code which fails to close the statement object - fix ant build file to correctly detect dependencies across jdbc1/jdbc2/jdbc3 - fix a coupld of server prepared statement bugs and added regression test for them Applied patch from Kim Ho: - adds support for get/setMaxFieldSize(). Also fixed build.xml to provide a better error message in the event that an older version of the driver exists in the classpath when trying to build.
2003-08-15Updated the blob regression test to actually use the getBlob/getClob methodsBarry Lind
and test them, in addition to testing the underlying LargeObject API methods. Modified Files: jdbc/build.xml jdbc/org/postgresql/test/jdbc2/BlobTest.java
2003-08-15Fixed improper message length for the connection termination message 'X' whenBarry Lind
using the V3 protocol. Modified Files: jdbc1/AbstractJdbc1Connection.java
2003-08-11Applied patch from Oliver Jowett to clean up the jdbc regression test buildBarry Lind
Modified Files: jdbc/build.xml jdbc/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
2003-08-11Applied patch from Oliver Jowett to better handle invalid input for getArrayBarry Lind
(no longer throw an index out of range exception) Modified Files: jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-08-11Applied patch from Oliver Jowett to clean up some aditional warning messagesBarry Lind
from ant. Modified Files: jdbc/build.xml