dbname=your_database_name is probably the most common connection string. See section "33.1.1.1. Keyword/Value Connection Strings" on https://www.postgresql.org/docs/10/libpq-connect.html
A destructor is present on this object, but not explicitly documented in the source.
Prepared statement support
The PostgreSql implementation of the Database interface.
You should construct this class, but then use it through the interface functions.