We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f979b76 commit 2043abeCopy full SHA for 2043abe
1 file changed
postgresql/python/socket.py
@@ -26,6 +26,7 @@ class SocketFactory(object):
26
errno.ECONNRESET : 'server explicitly closed the connection',
27
errno.EPIPE : 'broken connection detected on send',
28
errno.ECONNREFUSED : 'server refused connection',
29
+ errno.EHOSTUNREACH : 'server is not reachable',
30
}
31
timeout_exception = socket.timeout
32
fatal_exception = socket.error
0 commit comments