The CVS logs show that a likely-looking patch was applied in Dec 1998,so 6.4.2 probably contains the fix. Update to 6.4.2 (maybe even justcompile and install its pg_dump) and give it another try.
regards, tom lane