Jeevan Chalke <[email protected]> writes:
> plpgsql_exec_function() and plpgsql_exec_trigger() both set the magic
> variable FOUND to false before running the function body, but
> plpgsql_exec_event_trigger() does not.  As a result, FOUND is NULL rather
> than false at the start of a PL/pgSQL event trigger function:

Good catch.

> Since this is a behavior difference from the other function types rather
> than
> a new feature, I think it could also be back-patched, but I'd like to hear
> what others think.

Given the lack of field complaints, I'm inclined to leave it as-is
in released branches (maybe it's not too late for v19, though).
It seems unlikely that anyone has written any code that would
be affected by this change, but ...

                        regards, tom lane


Reply via email to