summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut2017-07-04 03:37:53 +0000
committerPeter Eisentraut2017-07-04 03:37:53 +0000
commit012d83f57aff973a73214262f3d87105786e3500 (patch)
tree6c1eb4f94cbd3a2733f8a89572865f4c8c0f854a /doc/src
parentcb9079cd51a2df677dc182aec72d88383b9c2a79 (diff)
Document how logical replication deals with statement triggers
Reported-by: Константин Евтеев <konst583@gmail.com> Bug: #14699
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/logical-replication.sgml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml
index 6576272458..fa0bb56b7b 100644
--- a/doc/src/sgml/logical-replication.sgml
+++ b/doc/src/sgml/logical-replication.sgml
@@ -429,6 +429,13 @@
and constraints.
</para>
+ <para>
+ The logical replication apply process currently only fires row triggers,
+ not statement triggers. The initial table synchronization, however, is
+ implemented like a <command>COPY</command> command and thus fires both row
+ and statement triggers for <command>INSERT</command>.
+ </para>
+
<sect2 id="logical-replication-snapshot">
<title>Initial Snapshot</title>
<para>