Skip to content
Snippets Groups Projects
Commit 4f10e7ea authored by Alvaro Herrera's avatar Alvaro Herrera
Browse files

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: default avatarMai Peng <maily.peng@webedia-group.com>
Co-authored-by: default avatarMinh-Quan TRAN <qtran@itscaro.me>
Co-authored-by: default avatarÁ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
parent 70de0abd
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment