postgresql/src/pl
Tom Lane 88a4cb30a4 Fix GET DIAGNOSTICS for case of assignment to function's first variable.
An incorrect and entirely unnecessary "safety check" in exec_stmt_getdiag()
caused the code to treat an assignment to a variable with dno zero as a
no-op.  Unfortunately, that's a perfectly valid dno.  This has been broken
since GET DIAGNOSTICS was invented.  It's not terribly surprising that the
bug went unnoticed for so long, since in most cases you probably wouldn't
use the function's first-created variable (normally its first parameter)
as a GET DIAGNOSTICS target.  Nonetheless, it's broken.  Per bug #6551
from Adam Buraczewski.
2012-03-22 14:13:17 -04:00
..
plperl plperl: Package-qualify _TD 2012-03-19 17:29:05 -03:00
plpgsql Fix GET DIAGNOSTICS for case of assignment to function's first variable. 2012-03-22 14:13:17 -04:00
plpython Patch some corner-case bugs in pl/python. 2012-03-13 15:26:32 -04:00
tcl Run "make all" as a prerequisite of "make check" 2011-12-27 20:27:24 +02:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00