choco install postgresql-odbc
cursor.close() conn.close()
$connString = "Driver=PostgreSQL Unicode;Server=localhost;Database=testdb;Uid=postgres;Pwd=secret;" $conn = New-Object System.Data.Odbc.OdbcConnection($connString) $conn.Open() odbc postgres driver
[postgresql] Description = PostgreSQL ODBC driver Driver = /usr/lib/x86_64-linux-gnu/odbc/libpsqlodbc.so choco install postgresql-odbc cursor
could not connect to server: Connection refused odbc postgres driver