Thread: [COMMITTERS] pgsql: Get a snapshot before COPY in table sync

[COMMITTERS] pgsql: Get a snapshot before COPY in table sync

From
Peter Eisentraut
Date:
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 <scott@deltaex.com>
Author: Masahiko Sawada <sawada.mshk@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(+)