Fix docs regarding AFTER triggers on partitioned tables

In commit 86f575948c I forgot to update the trigger.sgml paragraph
that needs to explain that AFTER triggers are allowed in partitioned
tables.  Do so now.

Discussion: https://postgr.es/m/20200224185850.GA30899@alvherre.pgsql
This commit is contained in:
Alvaro Herrera 2020-02-26 19:57:14 -03:00
parent 2d8a6fad18
commit 3acfe6b089
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
1 changed files with 4 additions and 2 deletions

View File

@ -115,8 +115,10 @@
<literal>BEFORE</literal> triggers fire immediately before a particular row is
operated on, while row-level <literal>AFTER</literal> triggers fire at the end of
the statement (but before any statement-level <literal>AFTER</literal> triggers).
These types of triggers may only be defined on non-partitioned tables and
foreign tables, not views. <literal>INSTEAD OF</literal> triggers may only be
These types of triggers may only be defined on tables and
foreign tables, not views; <literal>BEFORE</literal> row-level triggers may not
be defined on partitioned tables.
<literal>INSTEAD OF</literal> triggers may only be
defined on views, and only at row level; they fire immediately as each
row in the view is identified as needing to be operated on.
</para>