PostgreSQL

Transaction skipping can cause subscriber data inconsistency

warning
ReplicationUpdated Feb 26, 2026
Technologies:
How to detect:

When resolving logical replication conflicts by skipping transactions (using ALTER SUBSCRIPTION ... SKIP or pg_replication_origin_advance()), the entire transaction is skipped including changes that don't violate constraints. This easily causes data inconsistency between publisher and subscriber.

Recommended action:

Before skipping transactions, evaluate the full impact by reviewing all changes in the transaction on the publisher side. Consider alternative resolution: modify subscriber data to allow the transaction to apply, or perform manual data reconciliation after skipping. Document all skipped transactions for audit purposes. Implement regular data consistency validation between publisher and subscriber.