Compare commits
2 Commits
cb4dde1dc4
...
b0edfb7b01
Author | SHA1 | Date |
---|---|---|
Emmanuel Garette | b0edfb7b01 | |
Emmanuel Garette | 27031dbf0e |
|
@ -260,6 +260,15 @@ class PublishDispatcher:
|
|||
False,
|
||||
False,
|
||||
)
|
||||
async with self.pool.acquire() as log_connection:
|
||||
await log_connection.set_type_codec(
|
||||
'json',
|
||||
encoder=dumps,
|
||||
decoder=loads,
|
||||
schema='pg_catalog'
|
||||
)
|
||||
async with log_connection.transaction():
|
||||
risotto_context.log_connection = log_connection
|
||||
async with self.pool.acquire() as connection:
|
||||
await connection.set_type_codec(
|
||||
'json',
|
||||
|
|
Loading…
Reference in New Issue