postgresql/src
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
..
backend Clean up compiler warnings from unused variables with asserts disabled 2012-03-21 23:33:10 +02:00
bin If a role has a password expiration date, show that in psql's \du output. 2012-03-22 02:08:25 -04:00
include Clean up compiler warnings from unused variables with asserts disabled 2012-03-21 23:33:10 +02:00
interfaces Refactor to eliminate duplicate copies of conninfo default-finding code. 2012-03-22 12:08:34 -04:00
makefiles Add pg_upgrade test suite 2011-11-27 22:42:32 +02:00
pl Fix GET DIAGNOSTICS for case of assignment to function's first variable. 2012-03-22 14:13:17 -04:00
port Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Restructure SELECT INTO's parsetree representation into CreateTableAsStmt. 2012-03-19 21:38:12 -04:00
timezone Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tools Add installing entab to pgindent instructions 2012-03-21 23:33:10 +02:00
tutorial Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in ecpg: Improve test building 2012-02-02 20:33:29 +02:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
nls-global.mk Sort compendium lists for msgmerge 2011-12-27 20:22:51 +02:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00