postgresql/src/include/replication
Amit Kapila 63cf61cdeb Add prepare API support for streaming transactions in logical replication.
Commit a8fd13cab0 added support for prepared transactions to built-in
logical replication via a new option "two_phase" for a subscription. The
"two_phase" option was not allowed with the existing streaming option.

This commit permits the combination of "streaming" and "two_phase"
subscription options. It extends the pgoutput plugin and the subscriber
side code to add the prepare API for streaming transactions which will
apply the changes accumulated in the spool-file at prepare time.

Author: Peter Smith and Ajin Cherian
Reviewed-by: Vignesh C, Amit Kapila, Greg Nancarrow
Tested-By: Haiying Tang
Discussion: https://postgr.es/m/02DA5F5E-CECE-4D9C-8B4B-418077E2C010@postgrespro.ru
Discussion: https://postgr.es/m/CAMGcDxeqEpWj3fTXwqhSwBdXd2RS9jzwWscO-XbeCfso6ts3+Q@mail.gmail.com
2021-08-04 07:47:06 +05:30
..
backup_manifest.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
basebackup.h Code review for server's handling of "tablespace map" files. 2021-03-17 16:18:46 -04:00
decode.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
logical.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
logicallauncher.h Allow multiple xacts during table sync in logical replication. 2021-02-12 07:41:51 +05:30
logicalproto.h Add prepare API support for streaming transactions in logical replication. 2021-08-04 07:47:06 +05:30
logicalrelation.h Don't try to print data type names in slot_store_error_callback(). 2021-07-02 16:04:54 -04:00
logicalworker.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
message.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
origin.h Add some const decorations 2021-06-10 16:21:48 +02:00
output_plugin.h Add a xid argument to the filter_prepare callback for output plugins. 2021-03-30 10:34:43 +05:30
pgoutput.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
reorderbuffer.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
slot.h Advance old-segment horizon properly after slot invalidation 2021-07-16 12:07:30 -04:00
snapbuild.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
syncrep.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
walreceiver.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
walsender.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
walsender_private.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
worker_internal.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30