test dump for pgsql