fix: pass error to pgpool release (#9209)
fix: pass error to pgpool release (#9209)

This extends github PR #7792 to pass the error, if any, to the release
callback from `pg-pool`. This should be done to ensure the connection is
removed from the pool, as described in #5112.
typeorm/typeorm,typeorm/typeorm,typeorm/typeorm