Commit Graph

79 Commits (510777a2d56b5de5f55d3e995c0d0242eb630eb1)

Author SHA1 Message Date
Nathan Bossart 510777a2d5 Change ReplicationSlotPersistentData's "synced" member to a bool. 1 week ago
Amit Kapila 228c370868 Preserve conflict-relevant data during logical replication. 2 months ago
Alexander Korotkov 0810fbb02d Update comment for ReplicationSlot.last_saved_restart_lsn 2 months ago
Fujii Masao 05dedf43d3 Change unit of idle_replication_slot_timeout to seconds. 2 months ago
Alexander Korotkov ca307d5cec Keep WAL segments by slot's last saved restart LSN 3 months ago
Peter Geoghegan a6cab6a78e Harmonize function parameter names for Postgres 18. 5 months ago
Amit Kapila ac0e33136a Invalidate inactive replication slots. 7 months ago
Amit Kapila 0ec3c295e7 Avoid updating inactive_since for invalid replication slots. 7 months ago
Amit Kapila f41d8468dd Raise an error while trying to acquire an invalid slot. 7 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 8 months ago
Amit Kapila d05a387d9d Doc: Clarify the `inactive_since` field description. 10 months ago
Michael Paquier 2065ddf5e3 Define PG_REPLSLOT_DIR for path pg_replslot/ in data folder 1 year ago
Amit Kapila 1462aad2e4 Allow altering of two_phase option of a SUBSCRIPTION. 1 year ago
Amit Kapila 2357c9223b Rename standby_slot_names to synchronized_standby_slots. 1 year ago
Amit Kapila db08e8c6fa Post-commit review fixes for slot synchronization. 1 year ago
Amit Kapila 6d49c8d4b4 Change last_inactive_time to inactive_since in pg_replication_slots. 1 year ago
Amit Kapila a11f330b55 Track last_inactive_time in pg_replication_slots. 1 year ago
Amit Kapila 6ae701b437 Track invalidation_reason in pg_replication_slots. 1 year ago
Amit Kapila bf279ddd1c Introduce a new GUC 'standby_slot_names'. 2 years ago
Michael Paquier 943f7ae1c8 Add lookup table for replication slot conflict reasons 2 years ago
Amit Kapila ddd5f4f54a Add a slot synchronization function. 2 years ago
Amit Kapila 7329240437 Allow setting failover property in the replication command. 2 years ago
Amit Kapila c393308b69 Allow to enable failover property for replication slots via SQL API. 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Peter Eisentraut 611806cd72 Add trailing commas to enum definitions 2 years ago
Amit Kapila e0b2eed047 Flush logical slots to disk during a shutdown checkpoint if required. 2 years ago
Andres Freund be87200efd Support invalidating replication slots due to horizon and wal_level 2 years ago
Andres Freund 15f8203a59 Replace replication slot's invalidated_at LSN with an enum 2 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Andres Freund 06dbd619bf pgstat: Prevent stats reset from corrupting slotname by removing slotname 3 years ago
Amit Kapila a932824dfe Pass Size as a 2nd argument for snprintf() in tablesync.c. 3 years ago
Peter Geoghegan bfcf1b3480 Harmonize parameter names in storage and AM code. 3 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 3 years ago
Andres Freund e41aed674f pgstat: revise replication slot API in preparation for shared memory stats. 3 years ago
Andres Freund 2f6501fa3c Move replication slot release to before_shmem_exit(). 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Michael Paquier 026ed8efd6 Remove code duplication for permission checks with replication slots 4 years ago
Alvaro Herrera ead9e51e82
Advance old-segment horizon properly after slot invalidation 4 years ago
Amit Kapila a8fd13cab0 Add support for prepared transactions to built-in logical replication. 4 years ago
Alvaro Herrera 1632ea4368
Return ReplicationSlotAcquire API to its original form 4 years ago
Amit Kapila 3fa17d3771 Use HTAB for replication slot statistics. 4 years ago
Amit Kapila 19890a064e Add option to enable two_phase commits via pg_create_logical_replication_slot. 5 years ago
Amit Kapila 8bdb1332eb Avoid repeated decoding of prepared transactions after a restart. 5 years ago
Amit Kapila d9b0767bec Fix the warnings introduced in commit ce0fdbfe97. 5 years ago
Amit Kapila ce0fdbfe97 Allow multiple xacts during table sync in logical replication. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Amit Kapila 9868167500 Track statistics for spilling of changes from ReorderBuffer. 5 years ago
Alvaro Herrera 0188bb8253
Save slot's restart_lsn when invalidated due to size 5 years ago
Peter Eisentraut 0fd2a79a63 Spelling adjustments 5 years ago
Tom Lane f88bd3139f Don't call palloc() while holding a spinlock, either. 5 years ago