pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Euler Taveira <euler@timbira.com.br>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Константин Евтеев <konst583@gmail.com>
Subject: Re: [BUGS] BUG #14699: Statement trigger and logical replication
Date: Mon, 3 Jul 2017 23:39:35 -0400
Message-ID: <14dceb54-f510-8c4e-b3b7-412b2fd566e9@2ndquadrant.com> (raw)
In-Reply-To: <CAHE3wghmzCJ8hD0DKfAJdts9iGfSazBOa+CGY=heBZVKzauN6A@mail.gmail.com>
References: <20170609160109.26502.14118@wrigleys.postgresql.org>
	<cf941ded-1f8e-08b0-d864-e83c1768f27b@2ndquadrant.com>
	<CAAqA9PRLsBsKj4AKyA1G22MN64ORA6s0pD4ZXYecYNmLbZu_Xw@mail.gmail.com>
	<c020d3a1-55be-20a7-3689-cb9ad4554f8e@2ndquadrant.com>
	<CAHE3wghmzCJ8hD0DKfAJdts9iGfSazBOa+CGY=heBZVKzauN6A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 6/17/17 08:29, Euler Taveira wrote:
> 2017-06-16 22:08 GMT-03:00 Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com
> <mailto:peter.eisentraut@2ndquadrant.com>>:
> 
> 
>     The issue is that the logical replication initial data copy fires a
>     statement trigger for INSERT, because it's implemented as a COPY
>     internally.
> 
> We should document such behavior. AFAICS we discuss later if we should
> provide an option to fire statement triggers during initial copy.

I have added the documentation.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (8+ messages)

Message-ID: <14dceb54-f510-8c4e-b3b7-412b2fd566e9@2ndquadrant.com>
Permalink:  ../14dceb54-f510-8c4e-b3b7-412b2fd566e9@2ndquadrant.com/
Also on:    postgresql.org/message-id/14dceb54-f510-8c4e-b3b7-412b2fd566e9@2ndquadrant.com

 · 

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-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, euler@timbira.com.br, pgsql-hackers@postgresql.org, konst583@gmail.com
  Subject: Re: [BUGS] BUG #14699: Statement trigger and logical replication
  In-Reply-To: <14dceb54-f510-8c4e-b3b7-412b2fd566e9@2ndquadrant.com>
  References: <20170609160109.26502.14118@wrigleys.postgresql.org> <cf941ded-1f8e-08b0-d864-e83c1768f27b@2ndquadrant.com> <CAAqA9PRLsBsKj4AKyA1G22MN64ORA6s0pD4ZXYecYNmLbZu_Xw@mail.gmail.com> <c020d3a1-55be-20a7-3689-cb9ad4554f8e@2ndquadrant.com> <CAHE3wghmzCJ8hD0DKfAJdts9iGfSazBOa+CGY=heBZVKzauN6A@mail.gmail.com> <14dceb54-f510-8c4e-b3b7-412b2fd566e9@2ndquadrant.com>

* 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