diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-09-17 12:16:38 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-09-17 12:16:38 -0400 |
commit | fd31f9f033213e2ebf00b57ef837e1828c338fc4 (patch) | |
tree | 945081f4a4faa57f17a648ef68a51d2f4fbb7917 /src/backend/utils/adt/jsonfuncs.c | |
parent | cad22075bc2ce9c1fbe61e8d3969d4dbdb5bc1f3 (diff) | |
download | postgresql-fd31f9f033213e2ebf00b57ef837e1828c338fc4.tar.gz postgresql-fd31f9f033213e2ebf00b57ef837e1828c338fc4.zip |
Ensure that BEFORE STATEMENT triggers fire the right number of times.
Commit 0f79440fb introduced mechanism to keep AFTER STATEMENT triggers
from firing more than once per statement, which was formerly possible
if more than one FK enforcement action had to be applied to a given
table. Add a similar mechanism for BEFORE STATEMENT triggers, so that
we don't have the unexpected situation of firing BEFORE STATEMENT
triggers more often than AFTER STATEMENT.
As with the previous patch, back-patch to v10.
Discussion: https://postgr.es/m/22315.1505584992@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions