Using the IsNull/ahkDBA library for an easy UI, I've tried with two connection strings constructed from (connectionstrings.com).
ADO
OLE DBDriver={PostgreSQL};Server=localhost;Port=5432;Database=postgres;Uid=postgres;Pwd=password;
The funny thing is - not only does it not work - but when I put in the ADO connection string, the error message is OLE DB (screenshot). When I put in OLE DB, the error is for ADO (screenshot). Very strange.Provider=PostgreSQL OLE DB Provider;Data Source=localhost;location=postgres;User ID=postgres;password=password;timeout=1000;
Does anyone know how to connect to PostgreSQL from AHK?