Commit Graph

386 Commits (68174679fea2d514e9281fddd826abaccfac5bf7)

Author SHA1 Message Date
Amit Kapila a11f330b55 Track last_inactive_time in pg_replication_slots. 2 years ago
Amit Kapila 6ae701b437 Track invalidation_reason in pg_replication_slots. 2 years ago
Heikki Linnakangas aafc05de1b Refactor postmaster child process launching 2 years ago
Amit Kapila bf279ddd1c Introduce a new GUC 'standby_slot_names'. 2 years ago
Heikki Linnakangas 393b5599e5 Use MyBackendType in more places to check what process this is 2 years ago
Amit Kapila 93db6cbda0 Add a new slot sync worker to synchronize logical slots. 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 dafbfed9ef Enhance libpqrcv APIs to support slot synchronization. 2 years ago
Amit Kapila 7329240437 Allow setting failover property in the replication command. 2 years ago
Masahiko Sawada 08e6344fd6 Remove ReorderBufferTupleBuf structure. 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 da67cb0a44 Remove unnecessary include of <sys/socket.h> 2 years ago
Peter Eisentraut dffb2b478f Remove unnecessary includes of <signal.h> 2 years ago
Peter Eisentraut 611806cd72 Add trailing commas to enum definitions 2 years ago
Amit Kapila 29d0a77fa6 Migrate logical slots to the new node during an upgrade. 2 years ago
Michael Paquier 173b56f1ef Add flush option to pg_logical_emit_message() 2 years ago
Michael Paquier 9210afd3bc Move tracking of in_streaming to PGOutputData 2 years ago
Amit Kapila 54ccfd6586 Fix the misuse of origin filter across multiple pg_logical_slot_get_changes() calls. 2 years ago
Amit Kapila e0b2eed047 Flush logical slots to disk during a shutdown checkpoint if required. 2 years ago
Peter Eisentraut 63956bed7b Rename logical_replication_mode to debug_logical_replication_streaming 2 years ago
Amit Kapila 9c13b6814a Reset the logical worker type while cleaning up other worker info. 2 years ago
Amit Kapila 2a8b40e368 Simplify determining logical replication worker types. 2 years ago
Amit Kapila 02c1b64fb1 Refactor to split Apply and Tablesync Workers code. 2 years ago
Masahiko Sawada d0ce9d0bc7 Remove unnecessary checks for indexes for REPLICA IDENTITY FULL tables. 2 years ago
Amit Kapila d38ad8e31d Fix the display of UNKNOWN message type in apply worker. 2 years ago
Andres Freund bc971f4025 Optimize walsender wake up logic using condition variables 3 years ago
Tom Lane 0245f8db36 Pre-beta mechanical code beautification. 3 years ago
Amit Kapila 3d144c6c86 Fix invalid memory access during the shutdown of the parallel apply worker. 3 years ago
Amit Kapila de63f8dade Fix assertion failure in apply worker. 3 years ago
David Rowley eef231e816 Fix some typos and some incorrectly duplicated words 3 years ago
Peter Geoghegan d6f0f95a6b Harmonize some more function parameter names. 3 years ago
Andres Freund e101dfac3a For cascading replication, wake physical and logical walsenders separately 3 years ago
Andres Freund be87200efd Support invalidating replication slots due to horizon and wal_level 3 years ago
Andres Freund 15f8203a59 Replace replication slot's invalidated_at LSN with an enum 3 years ago
Robert Haas c3afe8cf5a Add new predefined role pg_create_subscription. 3 years ago
Amit Kapila e709596b25 Add macros for ReorderBufferTXN toptxn. 3 years ago
Amit Kapila 89e46da5e5 Allow the use of indexes other than PK and REPLICA IDENTITY on the subscriber. 3 years ago
Amit Kapila 8c58624df4 Fix the logical replication timeout during large DDLs. 3 years ago
Amit Kapila 1e8b61735c Rename GUC logical_decoding_mode to logical_replication_mode. 3 years ago
Tom Lane 5a3a95385b Track logrep apply workers' last start times to avoid useless waits. 3 years ago
Andres Freund 12605414a7 Use dlists instead of SHM_QUEUE for syncrep queue 3 years ago
Amit Kapila d540a02a72 Display the leader apply worker's PID for parallel apply workers. 3 years ago
Amit Kapila 216a784829 Perform apply of large transactions by parallel workers. 3 years ago
Tom Lane c6e1f62e2c Wake up a subscription's replication worker processes after DDL. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Amit Kapila 5de94a041e Add 'logical_decoding_mode' GUC. 3 years ago
Amit Kapila bf07ab492c Avoid unnecessary streaming of transactions during logical replication. 3 years ago
Amit Kapila 40b1491357 Fix incorrect output from pgoutput when using column lists. 3 years ago