Hi,
On 2018-04-07 15:43:53 +0000, Peter Eisentraut wrote:
> 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>
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=serinus&dt=2018-04-07%2015%3A46%3A01https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=flaviventris&dt=2018-04-07%2015%3A46%3A01
- Andres