On 16 March 2017 at 19:52, Stas Kelvich <s.kelv...@postgrespro.ru> wrote:
> > I’m working right now on issue with building snapshots for decoding prepared > tx. > I hope I'll send updated patch later today. Great. What approach are you taking? It looks like the snapshot builder actually does most of the work we need for this already, maintaining a stack of snapshots we can use. It might be as simple as invalidating the relcache/syscache when we exit (and enter?) decoding of a prepared 2pc xact, since it violates the usual assumption of logical decoding that we decode things strictly in commit-time order. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, 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