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 <sc...@deltaex.com>
Author: Masahiko Sawada <sawada.m...@gmail.com>

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 (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to