All of the "when.js" promise components needed in this module.
Other dependencies, including the pg
library,
which needs to be added as a dependency to the project
using this database.
All other local project modules needed in this scope.
Constructor for the PostgreSQL Client
Attach the appropriate grammar definitions onto the current client.
Runs the query on the specified connection, providing the bindings and any other necessary prep work.
Get a raw connection, called by the pool
whenever a new
connection needs to be added to the pool.
Used to explicitly close a connection, called internally by the pool when a connection times out or the pool is shutdown.
In PostgreSQL, we need to do a version check to do some feature checking on the database.
PostgreSQL