Just quoting Craig Ringer’s comment to make it “more visible”
If you have Windows 64Bits, you probably only installed 64-bit psqlodbc drivers, so all you need to use is for example: PostgreSQL ANSI(x64) (I used this and worked for me)
Just stuck on it for at least 1 hour until Craig's comment appeared, thanks man!
source share