Postgres Odbc Driver Today
sudo yum install postgresql-odbc
You will likely need to edit the odbcinst.ini (driver definition) and odbc.ini (DSN definition) files manually in /etc/ . postgres odbc driver
import pyodbc conn = pyodbc.connect('DSN=PostgreSQL35W;UID=postgres;PWD=secret') cursor = conn.cursor() cursor.execute("SELECT * FROM employees WHERE salary > ?", (50000,)) rows = cursor.fetchall() sudo yum install postgresql-odbc You will likely need