Skip to content

Commit

Permalink
Merge pull request #6340 from EnterpriseDB/docs-1149-pgfailoverslots-…
Browse files Browse the repository at this point in the history
…installedits

docs-1149: add note to avoid create extension cmd
  • Loading branch information
piano35-edb authored Dec 19, 2024
2 parents c8c0e22 + ed5ba22 commit bd29608
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions advocacy_docs/pg_extensions/pg_failover_slots/configuring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ navTitle: Configuring

You must add the extension to `shared_preload_libraries` on both the primary instance as well as any standby that's used for high availability (failover or switchover) purposes.

!!!Note
You should not run the `CREATE EXTENSION` command for PG Failover Slots.

## Prerequisite settings

The following settings are required:
Expand Down
2 changes: 1 addition & 1 deletion advocacy_docs/pg_extensions/pg_failover_slots/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ directoryDefaults:
PG Failover Slots (pg_failover_slots) is an extension released as open source software under the PostgreSQL License. If you have logical replication publications on Postgres databases that are also part of a streaming replication architecture,
PG Failover Slots avoids the need for you to reseed your logical replication tables when a new standby gets promoted to primary.

Since the replication slot used by logical replication is maintained only on the primary node, downstream subscribers don't receive any new changes from the newly promoted primary until the slot is created on the newly promoted primary. Picking up logical replication changes from the newly promoted standby is unsafe because THE following information will be lost:
Since the replication slot used by logical replication is maintained only on the primary node, downstream subscribers don't receive any new changes from the newly promoted primary until the slot is created on the newly promoted primary. Picking up logical replication changes from the newly promoted standby is unsafe because the following information will be lost:
- The data a subscriber confirmed receiving
- The log data that still needs to be retained for the subscriber

Expand Down

1 comment on commit bd29608

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.