Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSEgi-0000ac-M9 for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Jul 2017 03:39:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dSEgi-0006Xy-96 for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Jul 2017 03:39:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSEgh-0006Xp-QK for pgsql-hackers@postgresql.org; Tue, 04 Jul 2017 03:39:43 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSEgb-0006ln-5V for pgsql-hackers@postgresql.org; Tue, 04 Jul 2017 03:39:42 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id B7F0F20775; Mon, 3 Jul 2017 23:39:35 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Mon, 03 Jul 2017 23:39:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=wqS8+WlSyhk62FmRzoiKwWYwwIeQzvI20oakHVxUXgo=; b=JGs4nllK yZdKh2sc06qMg42u3YSRpTy4rzVxpx+P6UNo8h+gts0WQm17KnJsM5MFTzPzKPs9 knpncoRWmBZhTQ1Ld/Zfkx0yP6/3JTtG/UaOGfZZrpz88sks/7CNZhaoTajfZmDP N5cOCBVyzK64Zez3TgnV9KEVxm81wd0BgKwbumjdVdXnek/asxDC/PF67axmaX2G qfbZ4pSz/UDhHvupys6nLkOyk3niXnGYHzeJyiI97up6KZKh8InNXnTtwYm1I5y3 683aKyCVlU0PR13qpWnqjXs1mvUFUafMaQlJG5xMENYRjTZ2NgnR0y0rCpHPrqwm xkyoJGGw77SriQ== X-ME-Sender: X-Sasl-enc: KMFLWJ/DWiLQ/PYwBEVfQApUfexN00CPFJBI8Tzz17u+ 1499139575 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 6C0337E057; Mon, 3 Jul 2017 23:39:35 -0400 (EDT) Subject: Re: [BUGS] BUG #14699: Statement trigger and logical replication To: Euler Taveira References: <20170609160109.26502.14118@wrigleys.postgresql.org> Cc: pgsql-hackers , =?UTF-8?B?0JrQvtC90YHRgtCw0L3RgtC40L0g0JXQstGC0LXQtdCy?= From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <14dceb54-f510-8c4e-b3b7-412b2fd566e9@2ndquadrant.com> Date: Mon, 3 Jul 2017 23:39:35 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 6/17/17 08:29, Euler Taveira wrote: > 2017-06-16 22:08 GMT-03:00 Peter Eisentraut > >: > > > 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