Creates and verifies a connected pg.Pool using the provided database configuration. Executes a SELECT NOW() query to confirm the connection is healthy before returning.
pg.Pool
SELECT NOW()
The database configuration object.
A connected pg.Pool instance.
Creates and verifies a connected
pg.Poolusing the provided database configuration. Executes aSELECT NOW()query to confirm the connection is healthy before returning.