Rename the newly-added commands for discarding session state.
authorNeil Conway <neilc@samurai.com>
Thu, 26 Apr 2007 16:13:15 +0000 (16:13 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 26 Apr 2007 16:13:15 +0000 (16:13 +0000)
commit80e5867bd685844def361eda43241e41b3028e49
tree5653b99ce639ee64c687088fb8f64027d5c08722
parenta3c2733837af9b693119908d0d97436d000df064
Rename the newly-added commands for discarding session state.
RESET SESSION, RESET PLANS, and RESET TEMP are now DISCARD ALL,
DISCARD PLANS, and DISCARD TEMP, respectively. This is to avoid
confusion with the pre-existing RESET variants: the DISCARD
commands are not actually similar to RESET. Patch from Marko
Kreen, with some minor editorialization.
19 files changed:
doc/src/sgml/ref/allfiles.sgml
doc/src/sgml/ref/discard.sgml [new file with mode: 0644]
doc/src/sgml/ref/reset.sgml
doc/src/sgml/reference.sgml
src/backend/commands/Makefile
src/backend/commands/discard.c [new file with mode: 0644]
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/tcop/utility.c
src/backend/utils/misc/guc.c
src/backend/utils/mmgr/portalmem.c
src/bin/psql/tab-complete.c
src/include/commands/discard.h [new file with mode: 0644]
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h
src/test/regress/expected/guc.out
src/test/regress/sql/guc.sql