We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0316536 commit e8db04cCopy full SHA for e8db04c
1 file changed
postgresql/release/distutils.py
@@ -19,6 +19,14 @@
19
from distutils.core import Extension, Command
20
21
LONG_DESCRIPTION = """
22
+.. warning::
23
+ `postgresql.driver.dbapi20.connect` will now raise `ClientCannotConnectError` directly.
24
+ Exception traps around connect should still function, but the `__context__` attribute
25
+ on the error instance will be `None` in the usual failure case as it is no longer
26
+ incorrectly chained. Trapping `ClientCannotConnectError` ahead of `Error` should
27
+ allow both cases to co-exist in the event that data is being extracted from
28
+ the `ClientCannotConnectError`.
29
+
30
py-postgresql is a set of Python modules providing interfaces to various parts
31
of PostgreSQL. Primarily, it provides a pure-Python driver with some C optimizations for
32
querying a PostgreSQL database.
0 commit comments