brianc / node-pg-pool

A connection pool for node-postgres
MIT License
180 stars 64 forks source link

Clarifying pool connect logging #73

Closed ubershmekel closed 6 years ago

ubershmekel commented 7 years ago

Existing log code was outputting 'connecting new client' twice and saying 'new client connected', creating a false impression when an error (like a timeout) was present.

ubershmekel commented 7 years ago

1) Bring your own promise uses supplied promise for operations: TypeError: Cannot read property 'release' of undefined

I believe the build failure has nothing to do with the change.