summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc
AgeCommit message (Collapse)Author
2002-06-20Improve COPY syntax to use WITH clause, keep backward compatibility.Bruce Momjian
2002-06-16implemented refresh rowDave Cramer
2002-06-14added empty result set testingDave Cramer
2002-06-14added empty result set testingDave Cramer
2002-06-13removed personal test parametersDave Cramer
2002-06-13Added test for newly implemented updateable result setsDave Cramer
2002-06-13changes to accomodate updateable resultset mostly just call setSqlQuery on ↵Dave Cramer
execute
2002-06-13Implemented updateable result sets based on raghu nidagal implementationDave Cramer
2002-06-13changed some commented out messages to use the Driver.debug and fixed first ↵Dave Cramer
to read the underlying data into rowbuffer
2002-06-13added messages for updateable result setsDave Cramer
2002-06-11The patch does the following:Barry Lind
Allows you to set the loglevel at runtime by adding ?loglevel=X to the connection URL, where 1 = INFO and 2 = DEBUG. Automatically turns on logging by calling DriverManager.setPrintWriter(new PrintWriter(System.out)) if one is not already set. Adds a Driver.info() message that prints out the version number Adds member variables logDebug and logInfo that can be checked before making logging methods calls Adds a build number to the version number string. This build number will need to be manually incremented when we see fit. ---------------------------------------------------------------------- Modified Files: org/postgresql/Connection.java org/postgresql/Driver.java.in org/postgresql/fastpath/Fastpath.java org/postgresql/jdbc1/DatabaseMetaData.java org/postgresql/jdbc2/Connection.java org/postgresql/jdbc2/DatabaseMetaData.java org/postgresql/largeobject/LargeObjectManager.java org/postgresql/util/PSQLException.java org/postgresql/util/Serialize.java ----------------------------------------------------------------------
2002-06-07fixed bug reported by cc.ais40@wanadoo.fr where getObject was returning an ↵Barry Lind
Integer for a smallint datatype instead of a Short
2002-06-06change table name to lower case in getColumnsDave Cramer
2002-06-05fixed getImported/ExportedKeys to be simpler, and return the correct number ↵Dave Cramer
of keys
2002-06-03fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type ↵Barry Lind
handled Timestamps incorrectly
2002-05-30small fix to testExportedKeysDave Cramer
2002-05-30added imported/exported key testDatabaseMetaDataTest.javaDave Cramer
2002-05-17Merge the last few variable.c configuration variables into the genericTom Lane
GUC support. It's now possible to set datestyle, timezone, and client_encoding from postgresql.conf and per-database or per-user settings. Also, implement rollback of SET commands that occur in a transaction that later fails. Create a SET LOCAL var = value syntax that sets the variable only for the duration of the current transaction. All per previous discussions in pghackers.
2002-05-14fixed problem connecting to server with client_min_messages set to debug. ↵Barry Lind
The code was not expecting to receive notice messages during the connection handshake.
2002-04-24Update jdbc errors_zh_TW.properties.Bruce Momjian
Zhenbang Wei
2002-04-18Ant 1.4.1 now requires for jdbc. Mention in HISTORY release notes.Bruce Momjian
2002-04-16Added some rudimentary table and column testsDave Cramer
added a setup/teardown to create and drop the connection, and table
2002-04-16fixed getColumns as per Panu Outinen's email. At this point have only ↵Dave Cramer
repaired the bug, haven't made it caseInsensitive
2002-04-02Removed error message that was incorectly being issued. This fixes a ↵Barry Lind
problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting.
2002-03-27applied patch from Liam Stewart fixing a message in the properties fileBarry Lind
also fixed a NPE when calling the next() method on a result set after the connection or resultset has been closed. (bug reported by Hans Deragon)
2002-03-26applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal ↵Barry Lind
support
2002-03-26Changed QueryExecutor.java to correctly read responses from the backend.Barry Lind
Fixed NPE when database name was not passed on the jdbc connection URL Fixed Connection.isClosed() to not hit the DB for every call
2002-03-21Two versions of QueryExecutor, currently only version 2 works 100%Dave Cramer
these versions adhere to the backend protocol better than previous version fixes problem when an error occurs on the backend, and the connection is still used previous versions were throwing an exception half way through the protocol, leaving it indeterminate. also removes empty query code, should speed things up a bit
2002-03-21modifications to the way the protocol is handled to be consistent withDave Cramer
QueryExecutor. This includes: 1) only exit after we receive a 'Z' packet 2) append error messages to a buffer and throw the exception at the end
2002-03-21Part of Anders Bengtsson's patch to clean up Connection.javaDave Cramer
2002-03-21Applied Anders patch to move the startup code out of Connection into ↵Dave Cramer
StartupPacket * Introduces a new class, StartupPacket. * Moves a lot of constants from Connection to StartupPacket. * Makes two instance variables in Connection into locals.
2002-03-19>Added ServerEncodingBruce Momjian
> Korean (JOHAB), Thai (WIN874), > Vietnamese (TCVN), Arabic (WIN1256) > >Added ClientEncoding > Simplified Chinese (GBK), Korean (UHC) > >Add PsqlODBC and document ...etc patch. "JDBC patch" is delivered, too. :-) Eiji Tokuya
2002-03-19applied patch from Liam StewartDave Cramer
If one is trying to compile a JDBC 1 driver and junit.jar is in the CLASSPATH, then the build fails as ant tries to build the JDBC 2 test classes. This patch fixes this problem by excluding the jdbc 2 files unless the jdk1.2+ property is set.
2002-03-18Fixes bug where query hangs if there is an error in the query, went back toDave Cramer
code before QueryExecutor class was created and copied behaviour
2002-03-16fixed QueryExecuter to deal with multiple errorsDave Cramer
previously it was throwing a SQLException as soon as the error message was received from the backend. This did not allow the protocol to finish properly now, simply collects error messages from the backend until the query is done and throws exception at the end Also added setLogLevel to Driver.java, and made the log levels public
2002-03-15patch from Alexey SlynkoDave Cramer
This patch solve problems with arrays in latest development JDBC driver
2002-03-09Added a check for not calling next() before getting objects from the result set,Dave Cramer
moved the check for columnIndex into same call check at the top of all getXXX added appropriate error
2002-03-09Here is a small patch that cleans up some error reporting in the JDBC ↵Dave Cramer
driver. PSQLExceptions are thrown instead of SQLExceptions and if a warning is received while waiting for the backend secret key, that warning is chained to the new Connection object instead of generating an exception. A couple new error messages have been added.
2002-03-06 changed Cancel to cancelDave Cramer
2002-03-05backed out changes for cancel, no need to look for two 'Z' responsesDave Cramer
2002-03-05Patch by Nicolas Verger to correctly propogate SQLWarning to the Statement ↵Dave Cramer
and ResultSet
2002-03-05fixed cancel query bug introduced by patchDave Cramer
2002-03-05At this moment, --enable-debug adds debugging information to most of theBruce Momjian
parts o f postgresql. The jdbc drivers are never compiled with debugging support. This p atch make sure that debugging information is added to the jdbc jar when the --en able-debug is added. This was usefull for me for debugging some java jdbc poolin g objects but this might perhaps be usefull for other people too? Dries Verachtert
2002-03-05Doug Fields patch to prevent exception being thrown on zero length arraysDave Cramer
2002-03-05patch from Zhenbang WeiDave Cramer
The errors_zh_TW.properties must be translated using native2ascii or it will raise an exception. Please replace the old file.
2002-03-05Patch from Ryouichi MatsudaDave Cramer
An attached patch corrects problem of this bug and fractional second. The handling of time zone was as follows: (a) with time zone using SimpleDateFormat("yyyy-MM-dd HH:mm:ss z") (b) without time zone using SimpleDateFormat("yyyy-MM-dd HH:mm:ss") About problem of fractional second, Fractional second was changed from milli-second to nano-second
2002-03-05 patch from Mitchel Friedman to fix getTablesDave Cramer
2002-03-05 patch from Vicktor to fix Numeric decimal digits in getColumnsDave Cramer
2002-02-26Implementation for cancelQuery by Grant Finnemore <grantf@guruhut.co.za>Dave Cramer
2002-02-24compiles correctly but still doesn't work with jdk 1.4Dave Cramer