postgresql/src
Tom Lane 6317609986 Add control knobs for plpgsql's variable resolution behavior, and make the
default be "throw error on conflict", as per discussions.  The GUC variable
is plpgsql.variable_conflict, with values "error", "use_variable",
"use_column".  The behavior can also be specified per-function by inserting
one of
	#variable_conflict error
	#variable_conflict use_variable
	#variable_conflict use_column
at the start of the function body.

The 8.5 release notes will need to mention using "use_variable" to retain
backward-compatible behavior, although we should encourage people to migrate
to the much less mistake-prone "error" setting.

Update the plpgsql documentation to match this and other recent changes.
2009-11-13 22:43:42 +00:00
..
backend A better fix for the "ARRAY[...]::domain" problem. The previous patch worked, 2009-11-13 19:48:20 +00:00
bin Make initdb behave sanely when the selected locale has codeset "US-ASCII". 2009-11-12 02:46:16 +00:00
include Remove pg_parse_string_token() --- not needed anymore. 2009-11-12 01:13:12 +00:00
interfaces Change "name" nonterminal in cursor-related productions to cursor_name. 2009-11-11 20:31:26 +00:00
makefiles Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
pl Add control knobs for plpgsql's variable resolution behavior, and make the 2009-11-13 22:43:42 +00:00
port Check for C/POSIX before assuming that nl_langinfo or win32_langinfo 2009-11-12 03:37:15 +00:00
template
test Add control knobs for plpgsql's variable resolution behavior, and make the 2009-11-13 22:43:42 +00:00
timezone Fix a couple of issues in recent patch to print updates to postgresql.conf 2009-10-03 18:04:57 +00:00
tools Remove plpgsql's separate lexer (finally!), in favor of using the core lexer 2009-11-12 00:13:00 +00:00
tutorial
bcc32.mak
DEVELOPERS
Makefile Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
Makefile.global.in Build bzip2 tarball in dist target as well 2009-11-03 21:28:10 +00:00
Makefile.shlib Derived files that are shipped in the distribution used to be built in the 2009-08-28 20:26:19 +00:00
nls-global.mk Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
win32.mak