postgresql/src
Amit Kapila 9f2213a7c5 Allow the logical_replication_mode to be used on the subscriber.
Extend the existing developer option 'logical_replication_mode' to help
test the parallel apply of large transactions on the subscriber.

When set to 'buffered', the leader sends changes to parallel apply workers
via a shared memory queue. When set to 'immediate', the leader serializes
all changes to files and notifies the parallel apply workers to read and
apply them at the end of the transaction.

This helps in adding tests to cover the serialization code path in
parallel streaming mode.

Author: Hou Zhijie
Reviewed-by: Peter Smith, Kuroda Hayato, Sawada Masahiko, Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1+wyN6zpaHUkCLorEWNx75MG0xhMwcFhvjqm2KURZEAGw@mail.gmail.com
2023-02-02 08:15:18 +05:30
..
backend Allow the logical_replication_mode to be used on the subscriber. 2023-02-02 08:15:18 +05:30
bin Try to fix pg_upgrade test on Windows, again. 2023-02-01 14:40:25 +13:00
common Refactor rmtree() to use get_dirent_type(). 2023-01-31 13:46:25 +13:00
fe_utils Refactor code for restoring files via shell commands 2023-01-18 11:15:48 +09:00
include Remove dead NoMovementScanDirection code 2023-02-01 10:52:41 +13:00
interfaces meson: Fix typo in pkgconfig generation 2023-02-01 18:14:01 +01:00
makefiles Update copyright for 2023 2023-01-02 15:00:37 -05:00
pl plpython: Stop undefining _POSIX_C_SOURCE, _XOPEN_SOURCE 2023-01-25 09:59:26 -08:00
port Remove gratuitous references to postmaster program 2023-01-26 10:48:32 +01:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Allow the logical_replication_mode to be used on the subscriber. 2023-02-02 08:15:18 +05:30
timezone Update time zone data files to tzdata release 2022g. 2023-01-31 17:36:55 -05:00
tools Rename GUC logical_decoding_mode to logical_replication_mode. 2023-01-30 08:02:08 +05:30
tutorial Update copyright for 2023 2023-01-02 15:00:37 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in autoconf: Move export_dynamic determination to configure 2022-12-06 18:55:28 -08:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00