Skip to content

Commit e176281

Browse files
committed
Document trigger-firing behavior for inheritance/partitioning.
Amit Langote, reviewed Thomas Munro and by me. Discussion: http://postgr.es/m/CA+Tgmoadpcs3=mMgdyqVX7L7L_PwO_Dn5j-98a6Tj7ByBuimUQ@mail.gmail.com
1 parent a577599 commit e176281

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/src/sgml/trigger.sgml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@
122122
identified as needing to be operated on.
123123
</para>
124124

125+
<para>
126+
A statement that targets a parent table in a inheritance or partitioning
127+
hierarchy does not cause the statement-level triggers of affected child
128+
tables to be fired; only the parent table's statement-level triggers are
129+
fired. However, row-level triggers of any affected child tables will be
130+
fired.
131+
</para>
132+
125133
<para>
126134
If an <command>INSERT</command> contains an <literal>ON CONFLICT
127135
DO UPDATE</> clause, it is possible that the effects of all

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy