diff options
author | Chris Williams <cswilliams@users.noreply.github.com> | 2017-07-13 17:08:39 -0700 |
---|---|---|
committer | Chris Williams <cswilliams@users.noreply.github.com> | 2017-07-13 17:08:39 -0700 |
commit | 325b3cd6499db1164205198b6e4af90e3d2af865 (patch) | |
tree | 5dfc01d747926023f2915bd872d6f65f38cb6ee8 /activerecord/test/assets/schema_dump_5_1.yml | |
parent | 472f39f781e5ebf5dcb19bb432572ba68dfcceca (diff) | |
download | rails-325b3cd6499db1164205198b6e4af90e3d2af865.tar.gz rails-325b3cd6499db1164205198b6e4af90e3d2af865.tar.bz2 rails-325b3cd6499db1164205198b6e4af90e3d2af865.zip |
Catch postgres connection errors when trying to dealloc the statement pool
connection_active? will sometimes return true when the connection is actually dead/disconnected (see #3392 for a discussion of why this is). When this happens, a query is run on the dead connection which causes various postgres connection errors to be raised. This fix catches any such errors and ignores them.
Closes #29760
Diffstat (limited to 'activerecord/test/assets/schema_dump_5_1.yml')
0 files changed, 0 insertions, 0 deletions