Closed mnmandahalf closed 2 years ago
We'll eventually want to update JDBC drivers, but actually, JDBC drivers often have silent incompatibility between versions. We have hesitated to update the "default" JDBC driver there, then. (E.g. default options, ...)
Instead, you should be able to switch the JDBC driver version with the driver_path
option by yourself, without rebuilding the plugin. Please try that for a while.
@dmikurube
Thank you. I had to be more careful about updating default driver.
I'll try driver_path
option to solve the issue.
Thank you for helping me. I close this PR.
By adding these options, it works.
driver_path: /opt/embulk/postgresql-42.6.0.jar
options:
sslmode: require
This PR supports scram-sha-256 password encryption in embulk-input-postgresql plugin by default.
When I get to setup embulk-input-postgresql plugin for PostgreSQL 14.4, I get an "authentication method 10 not supported" error.
It seems that scram-sha-256 password encryption needs JDBC >= 42.2.0. https://www.postgresql.org/about/news/jdbc-4220-released-1825/
Here is an example of a testing with PostgreSQL 14.4 by locally built gem.
checker-qual-3.5.0.jar
is a runtime dependency of the jdbc.