postgresql/src
Tom Lane b15531033e 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:07 +00:00
..
backend Fix crash in bytea-to-XML mapping when the source value is toasted. 2008-10-09 15:49:04 +00:00
bin Implement SQL-standard WITH clauses, including WITH RECURSIVE. 2008-10-04 21:56:55 +00:00
include Modify the parser's error reporting to include a specific hint for the case 2008-10-08 01:14:44 +00:00
interfaces Synced parser. 2008-10-07 12:43:55 +00:00
makefiles Put back the copying of some of the regression test data files for vpath 2008-10-03 08:00:16 +00:00
pl Fix overly tense optimization of PLpgSQL_func_hashkey: we must represent 2008-10-09 16:35:07 +00:00
port Use CRITICAL_SECTION instead of Mutexes for thread-locking in libpq on 2008-05-21 14:20:48 +00:00
template Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2 2007-09-26 00:32:46 +00:00
test Extend CTE patch to support recursive UNION (ie, without ALL). The 2008-10-07 19:27:04 +00:00
timezone Update time zone data files to tzdata release 2008f (DST law changes in 2008-09-17 14:18:39 +00:00
tools Improve backend flowchart to show more detail. 2008-10-07 00:19:48 +00:00
tutorial Add $PostgreSQL$ markers to a lot of files that were missing them. 2008-05-17 01:28:26 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Catch all errors in for and while loops in makefiles. Don't ignore any 2008-03-18 16:24:50 +00:00
Makefile.global.in Fix coverage targets so that HTML view is reliably updated when test data 2008-10-03 15:35:17 +00:00
Makefile.shlib Synchronize the shared object build rules in Makefile.port with Makefile.shlib 2008-09-01 08:50:10 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
nls-global.mk Another fix for compiles on an empty 'po' directory. 2008-05-17 21:27:12 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00