forked from matrix-org/synapse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
synapse.storage.engines: use psycopg2cffi compat hook
Plainly importing psycopg2cffi as psycopg2 is inadequate, because psycopg2 or its components (psycopg2.extras) are being also imported elsewhere and patching them all is prone to breakage. Fixes matrix-org#5054. Signed-off-by: Ivan Shapovalov <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Restore PyPy compatibility by using psycopg2cffi consistently. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters