Re: [HACKERS] Logical replication origin tracking fix

2017-04-04 Thread Peter Eisentraut
On 3/24/17 10:48, Petr Jelinek wrote: > On 10/03/17 05:59, Petr Jelinek wrote: >> while discussing with Craig issues around restarting logical replication >> stream related to the patch he posted [1], I realized that we track >> wrong origin LSN in the logical replication apply. >> >> We currently

Re: [HACKERS] Logical replication origin tracking fix

2017-03-24 Thread Petr Jelinek
On 10/03/17 05:59, Petr Jelinek wrote: > Hi, > > while discussing with Craig issues around restarting logical replication > stream related to the patch he posted [1], I realized that we track > wrong origin LSN in the logical replication apply. > > We currently track commit_lsn which is *start* o

[HACKERS] Logical replication origin tracking fix

2017-03-09 Thread Petr Jelinek
Hi, while discussing with Craig issues around restarting logical replication stream related to the patch he posted [1], I realized that we track wrong origin LSN in the logical replication apply. We currently track commit_lsn which is *start* of commit record, what we need to track is end_lsn whi