Postgres database dumper for ticket #7