postgresql/src/pl
Tom Lane 3e5ed167d4 Fix overly tense optimization of PLpgSQL_func_hashkey: we must represent
the isTrigger state explicitly, not rely on nonzero-ness of trigrelOid
to indicate trigger-hood, because trigrelOid will be left zero when compiling
for validation.  The (useless) function hash entry built by the validator
was able to match an ordinary non-trigger call later in the same session,
thereby bypassing the check that is supposed to prevent such a call.
Per report from Alvaro.

It might be worth suppressing the useless hash entry altogether, but
that's a bigger change than I want to consider back-patching.

Back-patch to 8.0.  7.4 doesn't have the problem because it doesn't
have validation mode.
2008-10-09 16:35:25 +00:00
..
plperl Work around for perl 5.10 bug - fix due to perl hacker Simon Cozens. 2008-01-22 20:41:39 +00:00
plpgsql Fix overly tense optimization of PLpgSQL_func_hashkey: we must represent 2008-10-09 16:35:25 +00:00
plpython Update 8.1 and 8.0 plpython to work with Python 2.5. This backports several 2008-07-28 18:45:05 +00:00
tcl Clean up a number of bogosities around pltcl's handling of the Tcl "result": 2008-06-17 00:53:04 +00:00
Makefile Convert the existing regression test scripts for the various optional 2005-05-14 17:55:22 +00:00