Re: Segfault logical replication PG 10.4

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mai Peng <maily.peng@webedia-group.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, pgsql-hackers@postgresql.org, maxence@bothorel.net
Date: 2018-07-18T15:03:52Z
Lists: pgsql-hackers
Mai Peng <maily.peng@webedia-group.com> writes:
> Here the backtrace

Hmm .. so this can be summarized as "logical replication workers should
provide an ActiveSnapshot in case the user functions they call want one".
Makes me wonder how much other transactional infrastructure is needed
but not present.

			regards, tom lane


Commits

  1. Set ActiveSnapshot when logically replaying inserts