]> granicus.if.org Git - postgresql/commitdiff
Document how logical replication deals with statement triggers
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 4 Jul 2017 03:37:53 +0000 (23:37 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 4 Jul 2017 03:37:53 +0000 (23:37 -0400)
Reported-by: Константин Евтеев <konst583@gmail.com>
Bug: #14699

doc/src/sgml/logical-replication.sgml

index 6576272458e372c4dd9f97049aba0ffb5e576d00..fa0bb56b7bf91960bbab3de924afc0be91b63236 100644 (file)
    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>