Builds a pg from the given database options. Validates SSL certificates when SSL is enabled.
pg
The database configuration object.
A PoolConfig ready to be passed to a pg.Pool constructor.
PoolConfig
pg.Pool
Builds a
pgfrom the given database options. Validates SSL certificates when SSL is enabled.