Community
Participate
Working Groups
AllTestsDBPsql is pretty broken as well -- at least on my platform: PostgreSQL 8.4.4 Linux 2.6.34 org.postgresql.jdbc3_8.3.603.201006111745.jar Yes that's an 8.3 driver and an 8.4 server... but I see at least one test passing, so for now I'm assuming the driver and server don't have a problem with each other. As for the tests, of the first 6 in Net4jDBTest, 5 fail and one passes. On the 7th test, the suite hangs. The first five failures are: org.postgresql.util.PSQLException: ERROR: column "testfield0" is of type bit but expression is of type boolean org.eclipse.net4j.db.DBException: ERROR: relation "testtable" does not exist org.eclipse.net4j.db.DBException: ERROR: relation "testtable" does not exist org.eclipse.net4j.db.DBException: ERROR: relation "testtable" does not exist org.postgresql.util.PSQLException: Bad value for type long : Will attach full traces in a minute.
Created attachment 176880 [details] Test failures
Adding cc: Kai Schlamp
see my comment on Bug 322778
I'm going to use this bugzilla to provide a patch that tackles several issues. Managed to take AllTestsDBPsql down to 30 errors and 1 failure.
Regarding the "testtable" issues, I only managed to fix it creating the database manually. Once create, the test-case can be executed. I haven't found a way to create database through JDBC in PSQL... Anyone?
code is available in branch bugs/323006
Updated branch code. Now down to 14 failures
Moving all open bug reports to 4.1 because the release is very near and it's hghly unlikely that there will be spare time to address 4.0 problems. Please make sure that your patches can be applied against the master branch and that your problem is not already fixed there!!!
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
(In reply to comment #6) > code is available in branch bugs/323006 I see no way of merging this branch myself (tried it already) ;-( If someone else is willing to reintegrate the respective changes, I'd be happy to review/merge them...
I managed to merge the changes with master. Reopening.
I've updated all these changes I made in 4.1 and that quickly became obsolete, and updated them to current MASTER state. All the changes are committed under a new branch called bugs/323006b. commit 0123d149fa1fd1e5c4977946723ff1138628533b
Hi Vik, please prefix all your commits with "[bug-id]" to make the automatic release notes work. The large objects without actual Blob and Clob support in PostgreSQL took me 2 days to tackle correctly ;-( commit 24770a2a8333d5e18df024f1bbc851430b0e9734
(In reply to comment #13) > Hi Vik, please prefix all your commits with "[bug-id]" to make the automatic > release notes work. I recommend to use Mylyn for all these things. Ping me on Skype if you need help ;-)
I made PostgresqlConfig capable of handling multiple databases: commit b533cfe47685b48e8c43984d04082110e5e648a3
*** Bug 289194 has been marked as a duplicate of this bug. ***
All contained bugs are currently resolved.
Available in R20130613-1157 (4.2)