Currently, the builtin database/sql package keeps track of the prepared statements that are open against the underlying database. However, there is no way for consumers to query this data in order to see how many statements are open/closed.
The proposal here is to add two fields to the DB.Stats type, and to have the sql package track the number of open
statements. Note that the number of open statements is distinct from the number of open connections.