diff --git a/changelog.d/16730.misc b/changelog.d/16730.misc new file mode 100644 index 0000000000000000000000000000000000000000..baee042f2f2ccc2cfb4b2e4fb75745957a93059f --- /dev/null +++ b/changelog.d/16730.misc @@ -0,0 +1 @@ +Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit one. This should allow use of Postgres logical replication. \ No newline at end of file diff --git a/synapse/storage/schema/main/delta/83/10_replica_identity_batch_events.sql.postgres b/synapse/storage/schema/main/delta/83/10_replica_identity_batch_events.sql.postgres deleted file mode 100644 index cd4471f4d7c7200df69dbde3addd018c97ed3cba..0000000000000000000000000000000000000000 --- a/synapse/storage/schema/main/delta/83/10_replica_identity_batch_events.sql.postgres +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE batch_events REPLICA IDENTITY USING INDEX chunk_events_event_id; diff --git a/synapse/storage/schema/main/delta/83/10_replica_identity_event_txn_id.sql.postgres b/synapse/storage/schema/main/delta/83/10_replica_identity_event_txn_id.sql.postgres deleted file mode 100644 index a2bacbc96d57bc0af8869a3d7984a5ebbce73d7a..0000000000000000000000000000000000000000 --- a/synapse/storage/schema/main/delta/83/10_replica_identity_event_txn_id.sql.postgres +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE event_txn_id REPLICA IDENTITY USING INDEX event_txn_id_event_id; diff --git a/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_edges.sql.postgres b/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_edges.sql.postgres deleted file mode 100644 index 8322722b1ab12abd3f5bc10e40ba0b5cd21457d3..0000000000000000000000000000000000000000 --- a/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_edges.sql.postgres +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE insertion_event_edges REPLICA IDENTITY FULL; diff --git a/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_extremities.sql.postgres b/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_extremities.sql.postgres deleted file mode 100644 index 1816ce5a498da6a87585ecc07fb9aaa1701aa1a8..0000000000000000000000000000000000000000 --- a/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_extremities.sql.postgres +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE insertion_event_extremities REPLICA IDENTITY USING INDEX insertion_event_extremities_event_id; diff --git a/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_events.sql.postgres b/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_events.sql.postgres deleted file mode 100644 index 1fdbd597c7f15a376558e2b0a72d0e6dbf881a09..0000000000000000000000000000000000000000 --- a/synapse/storage/schema/main/delta/83/10_replica_identity_insertion_events.sql.postgres +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE insertion_events REPLICA IDENTITY USING INDEX insertion_events_event_id;