I have posted another patch for pg_dump to the patches list. There was apotential problem with the pqexpbuffer which I have removed as far aspossible (the bug, not pqexpbuffer).
MikeA