Sorry, Problem solved.
I download the latest driver and it works.
Had this problem as well. Oddly enough with a rather new version of Postgres and the drivers. Anyway I solved it by downloading the development drivers which IMO isn't a really good solution. Is there a workaround for this problem with the stable drivers?
I am using Postgresql 7.3.2.