Commit Graph

1381 Commits (8e0e0698f12bd77da38f6863ecdbe88a63ed49dc)

Author SHA1 Message Date
Michael Paquier ef7002dbe0 Fix various typos in code and tests 3 years ago
Andres Freund 30b789eafe Remove uses of AssertVariableIsOfType() obsoleted by f2b73c8 3 years ago
Amit Kapila 8c58624df4 Fix the logical replication timeout during large DDLs. 3 years ago
Amit Kapila d9d7fe68d3 Use appropriate wait event when sending data in the apply worker. 3 years ago
Peter Eisentraut 54a177a948 Remove useless casts to (void *) in hash_search() calls 3 years ago
Amit Kapila 3e577ff602 Optimize the origin drop functionality. 3 years ago
Thomas Munro cdf6518ef0 Retire PG_SETMASK() macro. 3 years ago
Amit Kapila 9f2213a7c5 Allow the logical_replication_mode to be used on the subscriber. 3 years ago
Amit Kapila 1e8b61735c Rename GUC logical_decoding_mode to logical_replication_mode. 3 years ago
Tom Lane 3a28d78089 Improve TimestampDifferenceMilliseconds to cope with overflow sanely. 3 years ago
Tom Lane 24ff700f6a Code review for commit 05a7be935. 3 years ago
Tom Lane 3b4ac33254 Avoid type cheats for invalid dsa_handles and dshash_table_handles. 3 years ago
Amit Kapila 6c6d6ba3ee Fix the Drop Database hang. 3 years ago
Andres Freund 728f86fec6 libpqwalreceiver: Convert to libpq-be-fe-helpers.h 3 years ago
Andres Freund bc54ef4ec2 Fix error handling in libpqrcv_connect() 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 c981d9145d Improve the code to decide and process the apply action. 3 years ago
Peter Eisentraut 20428d344a Add BufFileRead variants with short read and EOF detection 3 years ago
Peter Eisentraut 1561612e3b Fix some BufFileRead() error reporting 3 years ago
Amit Kapila b7ae039536 Ignore dropped and generated columns from the column list. 3 years ago
Amit Kapila dca8b01f5f Avoid creating parallel apply state hash table unless required. 3 years ago
Michael Paquier 5ad165d2c0 Acquire spinlock when updating 2PC slot data during logical decoding creation 3 years ago
Amit Kapila c06caa0d62 Fix the file mode of worker.c changed by the commit 216a784829. 3 years ago
Amit Kapila 216a784829 Perform apply of large transactions by parallel workers. 3 years ago
Amit Kapila 2b6df05461 Remove the streaming files for incomplete xacts after restart. 3 years ago
Tom Lane c6e1f62e2c Wake up a subscription's replication worker processes after DDL. 3 years ago
Tom Lane 4c032dd804 Check for two_phase change at end of process_syncing_tables_for_apply. 3 years ago
Tom Lane cd4b2334db Invalidate pgoutput's replication-decisions cache upon schema rename. 3 years ago
Tom Lane 3f7836ff65 Fix calculation of which GENERATED columns need to be updated. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Amit Kapila 5de94a041e Add 'logical_decoding_mode' GUC. 3 years ago
Andrew Dunstan 8284cf5f74 Add copyright notices to meson files 3 years ago
Amit Kapila bf07ab492c Avoid unnecessary streaming of transactions during logical replication. 3 years ago
Alvaro Herrera a61b1f7482
Rework query relation permission checking 3 years ago
Alvaro Herrera fb958b5da8
Generalize ri_RootToPartitionMap to use for non-partition children 3 years ago
Amit Kapila 40b1491357 Fix incorrect output from pgoutput when using column lists. 3 years ago
Alvaro Herrera ad86d159b6
Add 'missing_ok' argument to build_attrmap_by_name 3 years ago
Michael Paquier 8aa03f3caa Fix comment in snapbuild.c 3 years ago
Amit Kapila a1efcda7c3 Improve comments atop pg_get_replication_slots. 3 years ago
Alvaro Herrera 0557e17702
Ignore invalidated slots while computing oldest catalog Xmin 3 years ago
Amit Kapila 240e0dbacd Add additional checks while creating the initial decoding snapshot. 3 years ago
Daniel Gustafsson aba2dbb3cf Fix typos in comments 3 years ago
Thomas Munro 5db195f76f Fix slowdown in TAP tests due to recent walreceiver change. 3 years ago
Amit Kapila 36e545cd05 Fix comments atop ReorderBufferAddInvalidations. 3 years ago
Thomas Munro 05a7be9355 Suppress useless wakeups in walreceiver. 3 years ago
Tom Lane be541efbfd Defend against unsupported partition relkind in logical replication worker. 3 years ago
David Rowley 7c335b7a20 Add doubly linked count list implementation 3 years ago
Peter Eisentraut b1099eca8f Remove AssertArg and AssertState 3 years ago