mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-15 06:33:24 +02:00
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. |
||
---|---|---|
.. | ||
plperl | ||
plpgsql | ||
plpython | ||
tcl | ||
Makefile |