On 25 Aug. 2016 20:03, "Stas Kelvich" <s.kelv...@postgrespro.ru> wrote: > > > On 20 Aug 2016, at 15:59, Craig Ringer <cr...@2ndquadrant.com> wrote: > > > > I'll wait for a test case or some more detail. > > Thanks for clarification about how restart_lsn is working. > > Digging slightly deeper into this topic revealed that problem was in two phase decoding, not it logical decoding itself.
Good to know. The behavior didn't make much sense for logical decoding but bugs usually don't. Do you plan to submit a patch for logical decoding of prepared transactions to 10.0?