diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-07-30 16:30:07 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-07-30 16:30:07 -0400 |
commit | 4f10e7ea7b2231f453bb18b6e710ac333eaf121b (patch) | |
tree | 91ef9b3f8eea4a0967ac8f27f71aed2a61ad1fc9 /src/backend/executor/nodeAppend.c | |
parent | 70de0abdb7c6dce24dd5c0e276708ca7c534f99f (diff) | |
download | postgresql-4f10e7ea7b2231f453bb18b6e710ac333eaf121b.tar.gz postgresql-4f10e7ea7b2231f453bb18b6e710ac333eaf121b.zip |
Set ActiveSnapshot when logically replaying inserts
Input functions for the inserted tuples may require a snapshot, when
they are replayed by native logical replication. An example is a domain
with a constraint using a SQL-language function, which prior to this
commit failed to apply on the subscriber side.
Reported-by: Mai Peng <maily.peng@webedia-group.com>
Co-authored-by: Minh-Quan TRAN <qtran@itscaro.me>
Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/4EB4BD78-BFC3-4D04-B8DA-D53DF7160354@webedia-group.com
Discussion: https://postgr.es/m/153211336163.1404.11721804383024050689@wrigleys.postgresql.org
Diffstat (limited to 'src/backend/executor/nodeAppend.c')
0 files changed, 0 insertions, 0 deletions