locationtech/geogig

cannot import postgis-database into repo

Kohlroulade opened this issue · 1 comments

I downloaded the most recent release 1.2.0 from geogig. Now I try to import some data from my postgres-database (postgres-version v13):

geogig pg import --host localhost --database mydatabase --schema public --user postgres --password secret

When I execuite that command I get the following error:

org.postgresql.util.PSQLException: The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver

I got it to work by replacing the JDBC-driver under geogig/libexec by the never version postgresql-42.2.21