Changes to pg_dump script