summaryrefslogtreecommitdiff
path: root/databases/jdbc-postgresql82
diff options
context:
space:
mode:
authorabs <abs>2008-01-07 23:04:56 +0000
committerabs <abs>2008-01-07 23:04:56 +0000
commit202785b456f688c08c4b03e705e972a1928d0e65 (patch)
tree8eaf3745f4719bcda412f89d8566232505f5fc36 /databases/jdbc-postgresql82
parent6db791ddb7c5195bdb56b709cb9637e9716ff59f (diff)
downloadpkgsrc-202785b456f688c08c4b03e705e972a1928d0e65.tar.gz
Update databases/jdbc-postgresql82 to 507 from 504
Version 8.2-507 (2007-12-02) * fix When doing batch execution we can have multiple Parse and DescribeStatement messages on the wire at the same time. When we finally get around to collecting the DescribeStatement results we must check whether they still apply to the currently parsed query. Otherwise we'll overwrite our type information with stale data that will cause failures down the line. (jurka) Thanks to Eric Faulhaber. * fix CallableStatements with OUT parameters that get executed more than prepareThreshold times failed if clearParameters() was called in between executions. When we've hit the prepareThreshold, we no longer send Parse messages which invoke SimpleParameterList.getTypeOID which has side effects required to setup the parameters correctly. Add an explicit convertFunctionOutParameters method to do this work instead that we call in all execution paths. (jurka) Thanks to Ludovico Bianchini. * fix The driver was incorrectly parsing identifiers that had parts that look like dollar quotes. Things like a$b$c are valid identifiers, not dollar quotes. When determining if a $ we've found is a dollar quote start, look at the preceding character and see if it is a valid identifier part to determine if we're in the midst of an identifier or are starting a new token. (jurka) Thanks to Michael Paesold. * fix Multiple calls to XAConnection.getConnection within the same user transaction ended up restarting the transaction on the server side as a result of manipulating the autocommit state. When retrieving a Connection, we must pay attention to whether a user transaction is in progress when setting the autocommit state. (jurka) Thanks to Heikki Linnakangas. * fix Support NULL array elements. (jurka) Thanks to Christian Schröder. * fix Make code that parses queries for updateable resultsets aware of the ONLY clause. (jurka) Thanks to Oleg Vasylenko. * fix While custom type maps are not implemented, the code to detect the caller trying to use them threw a ClassCastException. Correctly detect the attempted use of custom types and bail out with a SQLException. (jurka) Version 8.2-506 (2007-07-31) * add Make setObject recognize a parameter of type java.lang.Byte. (jurka) Thanks to Boom Roos. * update Brazilian Portuguese translation update. (jurka) Thanks to Euler Taveira de Oliveira. * update Serbian translation updates. (jurka) Thanks to Bojan Skaljac. * fix Updatable ResultSets did not work when updating bytea data and then retrieving it because we send the data to the server in binary format, but the ResultSet was expecting to read it in text format. So we need to convert the data from binary to text format before stuffing it into the ResultSet. (jurka) Thanks to Mikko Tiihonen. * fix ResultSet.updateNClob(String, Reader) goes into an infinite loop. It really meant to call updateNClob(int, Reader), but was calling itself instead. (jurka) Thanks to Mikko Tiihonen. * fix Do escape processing on batch Statements prior to execution. This already worked for PreparedStatements, but not plain Statements. (jurka) Thanks to Hui Ye. * fix Don't return quotes around identifiers in the results of DatabaseMetaData.getIndexInfo even if they would require quoting in SQL. (jurka) Thanks to Andrei Badea. * fix When retrieving the columns of a function that returns a complex type, don't retrieve system columns (like xmin/xmax/...) that you'll find if the type is from a table. (jurka) * fix The previous fix to try and set a XA based Connection's autocommit property correctly didn't quite work. Calling XAConnection.getConnection set autocommit to true even if we already had a transaction in progress. (jurka) Thanks to Luca Ferrari, Heikki Linnakangas. * fix Error message was reporting the wrong parameter type value in the V3 protocol's SimpleParameterList implementation. (jurka) Thanks to Nathan Keynes. * fix Explicitly state which source level we are compiling. Newer versions of gij/gcj run a 1.5 VM, but default to a 1.4 source level compile which tricks up our build system. This still doens't fix the case of running with a newer VM than compiler, but I don't see what we can do about that. (jurka) Thanks to Tom Lane, Oliver Jowett. Version 8.2-505 (2007-04-18) * add Initial Serbian translation. (jurka) Thanks to Bojan Skaljac. * add Implement ResultSet.updateArray by simply mapping it to updateObject which now works for arrays. (jurka) * fix Statement.getTime, .getDate, and .getTimestamp methods which are passed a Calendar object were rotating the timezone in the wrong direction. Rewrite this code to use the existing TimestampUtils methods to match the working code in ResultSets. (jurka) Thanks to Ravi Periasmy. * fix Produce the timezone that we send to the server in the same format that we can parse. This is important for updatable ResultSets as we must be able to parse the format we produce. (jurka) Thanks to Leon Do. * fix Make Large Object handling work when the oid counter has exceeded Integer.MAX_VALUE by handling oids as longs. (jurka) * fix Fix persistence of XA datasources. PGObjectFactory wasn't aware of PGXADataSource and can't be because of the requirements for different build versions. Add a new PGXADataSourceFactory to provide this functionality. (jurka) Thanks to Heikki Linnakangas. * fix Fix the error message generated by a CallableStatement not getting results that match the registered out parameters to report the correct parameter position. (jurka) * fix Interval formatting didn't work for negative seconds values greater than -1. It would format it as -.5, but interval input doesn't accept this, so write it as -0.5 instead. (jurka) * fix Change DatabaseMetaData.getSearchStringEscape to always return "\\" instead of "\\\\". Previously it was assuming that it would be fed directly into a query and it needed to escape itself for the backend's input parser. This doesn't work for things like PreparedStatement parameters or DatabaseMetaData methods that take patterns. (jurka) Thanks to Valery Meshkov. * fix Allow updatable ResultSets to update arrays. (jurka) Thanks to Vasylenko. * fix In an error message reporting an unparseable timestamp value the code was trying to put the unparseable portion into the error message, but used the wrong variable to get the correct length. (jurka) * fix Parse timezones that have offsets in seconds. 8.2 servers now return this information so we must be able to handle it. (jurka)
Diffstat (limited to 'databases/jdbc-postgresql82')
-rw-r--r--databases/jdbc-postgresql82/Makefile4
-rw-r--r--databases/jdbc-postgresql82/distinfo14
2 files changed, 9 insertions, 9 deletions
diff --git a/databases/jdbc-postgresql82/Makefile b/databases/jdbc-postgresql82/Makefile
index 00727621ae8..4c1cda014cf 100644
--- a/databases/jdbc-postgresql82/Makefile
+++ b/databases/jdbc-postgresql82/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/13 21:36:19 abs Exp $
+# $NetBSD: Makefile,v 1.2 2008/01/07 23:04:56 abs Exp $
#
DISTNAME= postgresql-jdbc-8.2-${PGBUILD}.src
@@ -11,7 +11,7 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://jdbc.postgresql.org/
COMMENT= PostgreSQL 8.2 JDBC3 driver
-PGBUILD= 504
+PGBUILD= 507
JARDIST= postgresql-8.2-${PGBUILD}.jdbc3.jar
JARFILE= postgresql82.jar
EXTRACT_ONLY= ${DISTFILES:N*.jar}
diff --git a/databases/jdbc-postgresql82/distinfo b/databases/jdbc-postgresql82/distinfo
index c0734c0e008..d6d04c6c946 100644
--- a/databases/jdbc-postgresql82/distinfo
+++ b/databases/jdbc-postgresql82/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/01/13 21:36:19 abs Exp $
+$NetBSD: distinfo,v 1.2 2008/01/07 23:04:56 abs Exp $
-SHA1 (postgresql-8.2-504.jdbc3.jar) = aae73e1b65f0afd3d5d416755f0449b5fae558be
-RMD160 (postgresql-8.2-504.jdbc3.jar) = b9499486cf52a637bf63d537717cb54a50943f48
-Size (postgresql-8.2-504.jdbc3.jar) = 415542 bytes
-SHA1 (postgresql-jdbc-8.2-504.src.tar.gz) = 5be1fc49fb0990f2bff6919c4f88827de9d5b791
-RMD160 (postgresql-jdbc-8.2-504.src.tar.gz) = 5c47ee886bb1e7b056ee83d9eb59826cffb7bd47
-Size (postgresql-jdbc-8.2-504.src.tar.gz) = 482124 bytes
+SHA1 (postgresql-8.2-507.jdbc3.jar) = 6910c10e3292a1739338349ef9dad42334c0952d
+RMD160 (postgresql-8.2-507.jdbc3.jar) = 8de11817a5990c7d6f4acc5cd7bb3f4d8261b08c
+Size (postgresql-8.2-507.jdbc3.jar) = 431722 bytes
+SHA1 (postgresql-jdbc-8.2-507.src.tar.gz) = b31106c12d5697006cc14c0b380d9fce7944e6b0
+RMD160 (postgresql-jdbc-8.2-507.src.tar.gz) = e3c31f1cbfa528b9a83cfc2637a7da9c122dcf23
+Size (postgresql-jdbc-8.2-507.src.tar.gz) = 503330 bytes