mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
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
This commit is contained in:
parent
a5775991bb
commit
e17628145a
@ -122,6 +122,14 @@
|
|||||||
identified as needing to be operated on.
|
identified as needing to be operated on.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
A statement that targets a parent table in a inheritance or partitioning
|
||||||
|
hierarchy does not cause the statement-level triggers of affected child
|
||||||
|
tables to be fired; only the parent table's statement-level triggers are
|
||||||
|
fired. However, row-level triggers of any affected child tables will be
|
||||||
|
fired.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If an <command>INSERT</command> contains an <literal>ON CONFLICT
|
If an <command>INSERT</command> contains an <literal>ON CONFLICT
|
||||||
DO UPDATE</> clause, it is possible that the effects of all
|
DO UPDATE</> clause, it is possible that the effects of all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user