-
+
Release 8.5alpha3
meant, sometimes resulting in surprising behavior. Now, PL/pgSQL
can assume the variable is meant, or assume the table column is
meant, or throw an error in ambiguous cases. For safety the default
- is to throw error. To configure this see <xref
- linkend="plpgsql-var-subst">.
+ is to throw error. To configure this see <link
+ linkend="plpgsql-var-subst">the PL/pgSQL documentation.
Error reporting is much nicer: it no longer shows edited
Note that this change affects the set of keywords that are
reserved in PL/pgSQL (i.e., cannot be the name of a PL/pgSQL
- variable). Now, all keywords shown as reserved in <xref
- linkend="sql-keywords-appendix"> are reserved for PL/pgSQL purposes
- as well. However, many PL/pgSQL-only keywords that were formerly
- treated as reserved no longer are. As in regular SQL, you can
- double-quote a variable's name if you want to use a name that
- conflicts with a reserved keyword.
+ variable). Now, all keywords shown as reserved in <link
+ linkend="sql-keywords-appendix">Appendix C are reserved for
+ PL/pgSQL purposes as well. However, many PL/pgSQL-only keywords
+ that were formerly treated as reserved no longer are. As in regular
+ SQL, you can double-quote a variable's name if you want to use a
+ name that conflicts with a reserved keyword.