From: Andres Freund <andres@anarazel.de>
To: Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] Logical decoding of TRUNCATE
Date: Fri, 29 Dec 2017 11:55:36 -0800
Message-ID: <20171229195536.cdzmgllfkln6wo6t@alap3.anarazel.de> (raw)
In-Reply-To: <269bf0d2-6ac4-c032-6979-22aad6a9f5fb@2ndquadrant.it>
References: <269bf0d2-6ac4-c032-6979-22aad6a9f5fb@2ndquadrant.it>
Hi,
On 2017-12-29 14:15:22 +0100, Marco Nenciarini wrote:
> This patch implements support for TRUNCATE statements
> in logical replication. The work has mainly done by Simon Riggs then
> finished by me. Tests are written by me.
>
> TRUNCATE is treated as a form of DELETE for the purpose of deciding
> whether to publish, or not.
It'd be good if you explained exactly what the chosen behaviour is, and
why that's the right behaviour in comparison to other alternatives.
- Andres
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-general@postgresql.org
Cc: andres@anarazel.de, marco.nenciarini@2ndquadrant.it, pgsql-hackers@postgresql.org
Subject: Re: [PATCH] Logical decoding of TRUNCATE
In-Reply-To: <20171229195536.cdzmgllfkln6wo6t@alap3.anarazel.de>
References: <269bf0d2-6ac4-c032-6979-22aad6a9f5fb@2ndquadrant.it> <20171229195536.cdzmgllfkln6wo6t@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