-
Notifications
You must be signed in to change notification settings - Fork 4
Build
bobstarbird edited this page Feb 13, 2019
·
1 revision
- Instructions for full build https://jdbc.postgresql.org/development/development.html
- Be sure to match the protocol version of the driver to the server protocol version.
- Currently ML 9.0-3 uses PostgreSQL network message protocol version 3 (pg ver 7.4+) with preferQueryMode=simpile
A working build using Gradle has been created. This build ensures that all static final variables are updated.
The jar can be built using:
gradle build -x test
The unit tests can be run with:
gradle test
Copied the original PostgreSQL test classes and found 519
9108 tests succeeded out of the box (8589 failed)
9108 tests completed, 8589 failed, 6 skipped
The sources are now in:
src/main/
src/test/
Kept the files/directories for now, but we can/should remove it later.
/https-github-com-pgjdbc
/postgresql-42.1.4.jar
/postgresql-jdbc-head-doc.tar.gz
Also needed to do the following to get a successful build:
- remove OSGI and SSPI related sources due to missing/unresolvable dependencies
- remove SharedTimerClassLoaderLeakTest (a unit test) due to missing/unresolvable dependencies