Re: pgsql: Logical replication support for TRUNCATE

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Logical replication support for TRUNCATE
Date: 2018-04-07 16:01:51
Message-ID: 20180407160151.corca3b7iw7iir4v@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)2ndquadrant(dot)com>
> Author: Marco Nenciarini <marco(dot)nenciarini(at)2ndquadrant(dot)it>
> Author: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
> Reviewed-by: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
> Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
> Reviewed-by: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=serinus&dt=2018-04-07%2015%3A46%3A01
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=flaviventris&dt=2018-04-07%2015%3A46%3A01

- Andres

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-04-07 16:16:13 Re: pgsql: Logical replication support for TRUNCATE
Previous Message Peter Eisentraut 2018-04-07 15:43:53 pgsql: Logical replication support for TRUNCATE