Hi all,
I have a new pull request pending: https://github.com/rails/rails/pull/6654
This is a new stab at making PostgreSQL auto-reconnection work properly. Adds test coverage to the code that is already supposed to be making the automatic reconnection work, and fixes a problem that was demonstrated by the tests.
– Steve J.