pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Logical replication support for TRUNCATE
Date: Sat, 7 Apr 2018 09:01:51 -0700
Message-ID: <20180407160151.corca3b7iw7iir4v@alap3.anarazel.de> (raw)
In-Reply-To: <E1f4q0P-0007jQ-9y@gemulon.postgresql.org>
References: <E1f4q0P-0007jQ-9y@gemulon.postgresql.org>

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%3A01
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=flaviventris&dt=2018-04-07%2015%3A46%3A0...

- Andres




view thread (3+ messages)  latest in thread

Message-ID: <20180407160151.corca3b7iw7iir4v@alap3.anarazel.de>
Permalink:  ../20180407160151.corca3b7iw7iir4v@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180407160151.corca3b7iw7iir4v@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, peter_e@gmx.net
  Subject: Re: pgsql: Logical replication support for TRUNCATE
  In-Reply-To: <20180407160151.corca3b7iw7iir4v@alap3.anarazel.de>
  References: <E1f4q0P-0007jQ-9y@gemulon.postgresql.org> <20180407160151.corca3b7iw7iir4v@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox