summary refs log tree commit diff
path: root/synapse/storage/engines/postgres.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-11-15 08:02:11 -0500
committerGitHub <noreply@github.com>2023-11-15 08:02:11 -0500
commitf2f2c7c1f05de87f43cc2d18d5dc9bd636b3ed0a (patch)
tree5eb6479eac5d7199c7c3104aa539e51e34a4bac7 /synapse/storage/engines/postgres.py
parentImprove documentation for `/_synapse/admin/v1/rooms/<room_id>/timestamp_to_ev... (diff)
downloadsynapse-f2f2c7c1f05de87f43cc2d18d5dc9bd636b3ed0a.tar.xz
Use full GitHub links instead of bare issue numbers. (#16637)
Diffstat (limited to 'synapse/storage/engines/postgres.py')
-rw-r--r--synapse/storage/engines/postgres.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/engines/postgres.py b/synapse/storage/engines/postgres.py
index 6309363217..ec4c4041b7 100644
--- a/synapse/storage/engines/postgres.py
+++ b/synapse/storage/engines/postgres.py
@@ -38,7 +38,8 @@ class PostgresEngine(
         super().__init__(psycopg2, database_config)
         psycopg2.extensions.register_type(psycopg2.extensions.UNICODE)
 
-        # Disables passing `bytes` to txn.execute, c.f. #6186. If you do
+        # Disables passing `bytes` to txn.execute, c.f.
+        # https://github.com/matrix-org/synapse/issues/6186. If you do
         # actually want to use bytes than wrap it in `bytearray`.
         def _disable_bytes_adapter(_: bytes) -> NoReturn:
             raise Exception("Passing bytes to DB is disabled.")