> I am using PostgreSQL version 8 with psqlODBC as the ODBC driver.
You specify no psqlODBC version. Older versions have this bad behaviour.
So if I use my crystal ball I see there only upgrade advice.
> Everything works great except:
>
> When I get an SQL error it returns SQLCODE of 7 and SQLSTATE of “HY000”
> every time.
Regards,
Luf