Get a snapshot before COPY in table sync

This fixes a crash if the local table has a function index and the
function makes non-immutable calls.

Reported-by: Scott Milliken <[email protected]>
Author: Masahiko Sawada <[email protected]>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cf652018332819716b10c9de9ce80c81284d6815

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 2 ++
1 file changed, 2 insertions(+)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to