My periodic 6654 pull request nag: Fix PostgreSQL auto-reconnect

Is there some question about whether this should be merged?

At the company where I work, this is an open bug. The team decided the appropriate way to resolve it was to submit a fix to the Rails core – so I’m hoping this can eventually be accepted and incorporated.