Maybe you can try 127.0.0.1 instead of localhost.
pgsql-odbc by date:
Соглашаюсь с условиями обработки персональных данных