git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb9079c)
Document how logical replication deals with statement triggers
Tue, 4 Jul 2017 03:37:53 +0000 (23:37 -0400)
Tue, 4 Jul 2017 03:37:53 +0000 (23:37 -0400)
Reported-by: Константин Евтеев <konst583@gmail.com>
Bug: #14699


diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml
index 6576272458e372c4dd9f97049aba0ffb5e576d00..fa0bb56b7bf91960bbab3de924afc0be91b63236 100644 (file)
--- 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>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /