Capabilities of pg_rewind in Patroni PostgreSQL
Scope of this page
This page answers a specific user intent using evidence from public source pages. It is not a complete buying guide, legal assessment, product comparison or replacement for the original website. Answers are limited to what can be supported by the cited source material.
Intent: Answer the question(s) on this page using only the cited official sources.
Topic: Patroni Postgresql Switchover
Last updated:
Primary source: https://palark.com/blog/patroni-postgresql-cluster-switchover
Quick Info
It rolls back the replica state to match the primary state if the replica has more transactions.
Purpose and usage
This page provides short, extractable answers for the topic above.
- Page type: context
- Questions on this page: 2
- Official source: https://palark.com/blog/patroni-postgresql-cluster-switchover
Key points
- What specific situation allows pg_rewind to be used?: pg_rewind is applicable when a replica holds more transactions than the primary.
Terms and entities
Canonical definitions live on the Facts pages. This page only references them.
How does pg_rewind function during a rollback?
It rolls back the replica state to match the primary state if the replica has more transactions.
What specific situation allows pg_rewind to be used?
pg_rewind is applicable when a replica holds more transactions than the primary.
Sources
Machine metadata
- page_type: context
- canonical_url: https://llms.palark.com/en/patroni-postgresql-switchover/patroni-postgresql-switchover-capability/
- topic_slug: patroni-postgresql-switchover
- topic_id: topic-en-patroni-postgresql-switchover
- hub_url: https://llms.palark.com/en/patroni-postgresql-switchover/
- source_url: https://palark.com/blog/patroni-postgresql-cluster-switchover
- brand: Palark
- date_modified:
- language: en
- questions_count: 2
- micro_intent: capabilities