Updated database conn handling via pg_dump.