Compare commits

...

2 Commits

1 changed files with 53 additions and 44 deletions

View File

@ -260,6 +260,15 @@ class PublishDispatcher:
False, False,
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: async with self.pool.acquire() as connection:
await connection.set_type_codec( await connection.set_type_codec(
'json', 'json',