Download __exclusive__: Postgresql Odbc
odbcinst -q -d | grep PostgreSQL The easiest method is via Homebrew.
sudo apt update sudo apt install odbc-postgresql postgresql odbc download
[my_pg_db] Driver = PostgreSQL Server = 127.0.0.1 Port = 5432 Database = mydb UserName = myuser Password = mypass Choose the right driver version for your PostgreSQL server: odbcinst -q -d | grep PostgreSQL The easiest
[PostgreSQL] Description = PostgreSQL ODBC driver Driver = /usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so Setup = /usr/lib/x86_64-linux-gnu/odbc/psqlodbcw.so Driver64 = /usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so Setup64 = /usr/lib/x86_64-linux-gnu/odbc/psqlodbcw.so FileUsage = 1 Then create a DSN in /etc/odbc.ini : postgresql odbc download