Re: [HACKERS] [BUGS] BUG #14699: Statement trigger and logical replication

2017-07-03 Thread Peter Eisentraut
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

Re: [HACKERS] [BUGS] BUG #14699: Statement trigger and logical replication

2017-06-17 Thread Euler Taveira
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

Re: [HACKERS] [BUGS] BUG #14699: Statement trigger and logical replication

2017-06-16 Thread Thomas Munro
On Sat, Jun 17, 2017 at 1:22 PM, Andres Freund wrote: > On 2017-06-16 21:08:44 -0400, Peter Eisentraut wrote: >> On 6/16/17 09:13, Константин Евтеев wrote: >> > 2017-06-13 5:57 GMT+03:00 Peter Eisentraut >> > > >

Re: [HACKERS] [BUGS] BUG #14699: Statement trigger and logical replication

2017-06-16 Thread Andres Freund
On 2017-06-16 21:08:44 -0400, Peter Eisentraut wrote: > On 6/16/17 09:13, Константин Евтеев wrote: > > 2017-06-13 5:57 GMT+03:00 Peter Eisentraut > > > >: > > > > I think this is all working correctly and as

Re: [HACKERS] [BUGS] BUG #14699: Statement trigger and logical replication

2017-06-16 Thread Peter Eisentraut
On 6/16/17 09:13, Константин Евтеев wrote: > 2017-06-13 5:57 GMT+03:00 Peter Eisentraut > >: > > I think this is all working correctly and as intended. > > But then, why data copy for init logical replication fires