|
125 | 125 | If an <command>INSERT</command> contains an <literal>ON CONFLICT
|
126 | 126 | DO UPDATE</> clause, it is possible that the effects of all
|
127 | 127 | row-level <literal>BEFORE</> <command>INSERT</command> triggers
|
128 |
| - and all row-level BEFORE <command>UPDATE</command> triggers can |
| 128 | + and all row-level<literal>BEFORE</literal> <command>UPDATE</command> triggers can |
129 | 129 | both be applied in a way that is apparent from the final state of
|
130 | 130 | the updated row, if an <varname>EXCLUDED</> column is referenced.
|
131 | 131 | There need not be an <varname>EXCLUDED</> column reference for
|
132 |
| - both sets ofBEFORErow-level triggers to execute, though. The |
| 132 | + both sets of row-level <literal>BEFORE</literal> triggers to execute, though. The |
133 | 133 | possibility of surprising outcomes should be considered when there
|
134 | 134 | are both <literal>BEFORE</> <command>INSERT</command> and
|
135 | 135 | <literal>BEFORE</> <command>UPDATE</command> row-level triggers
|
|
327 | 327 | <para>
|
328 | 328 | Statement-level triggers follow simple visibility rules: none of
|
329 | 329 | the changes made by a statement are visible to statement-level
|
330 |
| -triggers that are invoked before the statement, whereas all |
| 330 | +<literal>BEFORE</literal> triggers, whereas all |
331 | 331 | modifications are visible to statement-level <literal>AFTER</>
|
332 | 332 | triggers.
|
333 | 333 | </para>
|
|