postgresql/src/pl
Tom Lane f318ee848c 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:45 -04:00
..
plperl plperl: Package-qualify _TD 2012-03-19 17:38:40 -03:00
plpgsql Fix GET DIAGNOSTICS for case of assignment to function's first variable. 2012-03-22 14:13:45 -04:00
plpython Patch some corner-case bugs in pl/python. 2012-03-13 15:26:36 -04:00
tcl Translation updates 2012-02-23 20:40:55 +02:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:27 -04:00