fixing use of pg_dump