brianc/node-postgres — pull request #395 by aaronyo (2013-07-10 01:35:04+00:00)
Title: Unable to reconnect after calling pg.end()

I discovered this while doing tests with pg. Between tests, pg.end() is called to clear out the pool, and then I call pg.connect() again, with the same connection string.

Is there a better way to dump the pool (e.g. any hung connections) and create a new pool?

I have not yet added additional tests, but did confirm that existing tests still pass.