Browse Source

Fix postgres schema after dropping old tables (#16730)

tags/v1.98.0rc1
David Robertson 5 months ago
committed by GitHub
parent
commit
0bb8e418a4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 5 deletions
  1. +1
    -0
      changelog.d/16730.misc
  2. +0
    -1
      synapse/storage/schema/main/delta/83/10_replica_identity_batch_events.sql.postgres
  3. +0
    -1
      synapse/storage/schema/main/delta/83/10_replica_identity_event_txn_id.sql.postgres
  4. +0
    -1
      synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_edges.sql.postgres
  5. +0
    -1
      synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_extremities.sql.postgres
  6. +0
    -1
      synapse/storage/schema/main/delta/83/10_replica_identity_insertion_events.sql.postgres

+ 1
- 0
changelog.d/16730.misc View File

@@ -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.

+ 0
- 1
synapse/storage/schema/main/delta/83/10_replica_identity_batch_events.sql.postgres View File

@@ -1 +0,0 @@
ALTER TABLE batch_events REPLICA IDENTITY USING INDEX chunk_events_event_id;

+ 0
- 1
synapse/storage/schema/main/delta/83/10_replica_identity_event_txn_id.sql.postgres View File

@@ -1 +0,0 @@
ALTER TABLE event_txn_id REPLICA IDENTITY USING INDEX event_txn_id_event_id;

+ 0
- 1
synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_edges.sql.postgres View File

@@ -1 +0,0 @@
ALTER TABLE insertion_event_edges REPLICA IDENTITY FULL;

+ 0
- 1
synapse/storage/schema/main/delta/83/10_replica_identity_insertion_event_extremities.sql.postgres View File

@@ -1 +0,0 @@
ALTER TABLE insertion_event_extremities REPLICA IDENTITY USING INDEX insertion_event_extremities_event_id;

+ 0
- 1
synapse/storage/schema/main/delta/83/10_replica_identity_insertion_events.sql.postgres View File

@@ -1 +0,0 @@
ALTER TABLE insertion_events REPLICA IDENTITY USING INDEX insertion_events_event_id;

Loading…
Cancel
Save