postgresql/src/include/replication
Peter Eisentraut 039eb6e92f Logical replication support for TRUNCATE
Update the built-in logical replication system to make use of the
previously added logical decoding for TRUNCATE support.  Add the
required truncate callback to pgoutput and a new logical replication
protocol message.

Publications get a new attribute to determine whether to replicate
truncate actions.  When updating a publication via pg_dump from an older
version, this is not set, thus preserving the previous behavior.

Author: Simon Riggs <simon@2ndquadrant.com>
Author: Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Author: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Reviewed-by: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-04-07 11:34:11 -04:00
..
basebackup.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
decode.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
logical.h Ability to advance replication slots 2018-01-17 11:38:34 +00:00
logicalfuncs.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
logicallauncher.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
logicalproto.h Logical replication support for TRUNCATE 2018-04-07 11:34:11 -04:00
logicalrelation.h logical replication: fix OID type mapping mechanism 2018-03-14 21:34:26 -03:00
logicalworker.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
message.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
origin.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
output_plugin.h Logical decoding of TRUNCATE 2018-04-07 11:34:10 -04:00
pgoutput.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
reorderbuffer.h Logical decoding of TRUNCATE 2018-04-07 11:34:10 -04:00
slot.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
snapbuild.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
syncrep.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
walreceiver.h Portability fix for commit 9a895462d. 2018-03-30 20:52:13 -04:00
walsender.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
walsender_private.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
worker_internal.h Update copyright for 2018 2018-01-02 23:30:12 -05:00