postgres driver and DB class