MatrixSynapse/synapse
reivilibre 51e4e35653
Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit one. This should allow use of Postgres logical replication. (take 2, now with no added deadlocks!) (#16658)
* Add `ALTER TABLE ... REPLICA IDENTITY ...` for individual tables

We can't combine them into one file as it makes it likely to hit a deadlock

if Synapse is running, as it only takes one other transaction to access two

tables in a different order to the schema delta.

* Add notes

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* Re-introduce REPLICA IDENTITY test

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-12-04 14:57:28 +00:00
..
_scripts
api
app
appservice
config Server notices: add an autojoin setting for the notices room (#16699) 2023-12-04 12:31:42 +00:00
crypto
events
federation Request & follow redirects for /media/v3/download (#16701) 2023-11-29 19:03:42 +00:00
handlers Implement MSC4069: Inhibit profile propagation (#16636) 2023-12-04 11:36:12 +00:00
http Request & follow redirects for /media/v3/download (#16701) 2023-11-29 19:03:42 +00:00
logging
media Request & follow redirects for /media/v3/download (#16701) 2023-11-29 19:03:42 +00:00
metrics Support reactor timing metric on more reactors. (#16532) 2023-11-06 08:31:22 -05:00
module_api ModuleAPI SSO auth callbacks (#15207) 2023-12-01 14:31:50 +00:00
push
replication
res
rest Implement MSC4069: Inhibit profile propagation (#16636) 2023-12-04 11:36:12 +00:00
server_notices Server notices: add an autojoin setting for the notices room (#16699) 2023-12-04 12:31:42 +00:00
spam_checker_api
state
static
storage Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit one. This should allow use of Postgres logical replication. (take 2, now with no added deadlocks!) (#16658) 2023-12-04 14:57:28 +00:00
streams
types
util
__init__.py
_pydantic_compat.py Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
event_auth.py
notifier.py
py.typed
server.py
visibility.py