pgsql: Get a snapshot before COPY in table sync

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Get a snapshot before COPY in table sync
Date: 2017-08-02 15:36:21
Message-ID: E1dcvh7-0000Wq-Iw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)deltaex(dot)com>
Author: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-08-02 16:17:14 pgsql: Remove broken and useless entry-count printing in HASH_DEBUG cod
Previous Message Tom Lane 2017-08-02 15:28:55 pgsql: Remove duplicate setting of SSL_OP_SINGLE_DH_USE option.