[devtools] Make PostgresTestDataBaseHandler multi-use friendly [folded]