* Modify the cfg structure of db initialization to be smarter about transaction connection pool and cursor connection pool creation.