pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Set ActiveSnapshot when logically replaying inserts 3+ messages / 1 participants [nested] [flat]
* pgsql: Set ActiveSnapshot when logically replaying inserts @ 2018-07-30 20:31 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 3+ messages in thread From: Alvaro Herrera @ 2018-07-30 20:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4f10e7ea7b2231f453bb18b6e710ac333eaf121b Modified Files -------------- src/backend/replication/logical/worker.c | 4 +++- src/test/subscription/t/002_types.pl | 24 ++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Set ActiveSnapshot when logically replaying inserts @ 2018-07-30 20:31 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 3+ messages in thread From: Alvaro Herrera @ 2018-07-30 20:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5dbd0beb8a95fa1de3a931d20102cc9f273fceef Modified Files -------------- src/backend/replication/logical/worker.c | 4 +++- src/test/subscription/t/002_types.pl | 24 ++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Set ActiveSnapshot when logically replaying inserts @ 2018-07-30 20:31 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 3+ messages in thread From: Alvaro Herrera @ 2018-07-30 20:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2c4d0f32e0c75179bba360ee884f535117b28b90 Modified Files -------------- src/backend/replication/logical/worker.c | 4 +++- src/test/subscription/t/002_types.pl | 24 ++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-07-30 20:31 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-07-30 20:31 pgsql: Set ActiveSnapshot when logically replaying inserts Alvaro Herrera <alvherre@alvh.no-ip.org> 2018-07-30 20:31 pgsql: Set ActiveSnapshot when logically replaying inserts Alvaro Herrera <alvherre@alvh.no-ip.org> 2018-07-30 20:31 pgsql: Set ActiveSnapshot when logically replaying inserts Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox