We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c00881d commit ee7369fCopy full SHA for ee7369f
1 file changed
postgresql/cluster.py
@@ -494,7 +494,7 @@ def ready_for_connections(self):
494
if isinstance(x, pg_exc.AuthenticationSpecificationError):
495
return True
496
# configuration file error. ya, that's probably not going to change.
497
- if isinstance(x, pg_exc.CFError):
+ if isinstance(x, (pg_exc.CFError, pg_exc.ProtocolError)):
498
raise x
499
if isinstance(x, pg_exc.ServerNotReadyError):
500
e = x
0 commit comments