http://archives.postgresql.org/pgsql-jdbc/2003-11/msg00010.php
This bug was patched on HEAD, but not the 7.4 branch.
Also on the 7.4 branch not all of the patch to run the regression tests
against a non-standard port was applied. Here is the remainder.
Kris Jurka