make a first stab at pg_dump support