Support SET FROM CURRENT in CREATE/ALTER FUNCTION, ALTER DATABASE, ALTER ROLE.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Sep 2007 18:46:30 +0000 (18:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Sep 2007 18:46:30 +0000 (18:46 +0000)
commit47c5f5988467f5c6f74b0a813ae3e5ee626460b9
treed25d55bc05a971dffd641789c35af07ac0bbf4a7
parentb69a6ce975cb9b4e28c97c6258650e101b49c406
Support SET FROM CURRENT in CREATE/ALTER FUNCTION, ALTER DATABASE, ALTER ROLE.
(Actually, it works as a plain statement too, but I didn't document that
because it seems a bit useless.)  Unify VariableResetStmt with
VariableSetStmt, and clean up some ancient cruft in the representation of
same.
17 files changed:
doc/src/sgml/ref/alter_database.sgml
doc/src/sgml/ref/alter_function.sgml
doc/src/sgml/ref/alter_role.sgml
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/create_function.sgml
src/backend/commands/dbcommands.c
src/backend/commands/functioncmds.c
src/backend/commands/user.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/tcop/pquery.c
src/backend/tcop/utility.c
src/backend/utils/misc/guc.c
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h
src/include/utils/guc.h