Hi,
I am seeing exactly the same bug as described in old b ug 3480 from 2007.
http://archives.postgresql.org/pgsql-bugs/2007-07/msg00104.php
For reproducing see the old bug.
Postgres 9.0.3/driver 9.0b801
Rob