Issue #2370593 by poker10, daffie, joseph.olstad, nathanweeks, Sivaji_Ganesh_Jojodae, bzrudi71, webchick, mcdruid, Fabianx: Database::tableExists optimization for PostgreSQL