diff options
author | Neil Conway <neilc@samurai.com> | 2007-04-26 16:13:15 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2007-04-26 16:13:15 +0000 |
commit | 16efdb5ec7f28bed9541fc773330e3e2ebe2ed9a (patch) | |
tree | 6ec0d0c7b08584ef53bf340e4d71a156e9655eba /src/include/commands | |
parent | 5ea27a4b2812d148f2516d130aee9dbaba45cedc (diff) |
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.
Diffstat (limited to 'src/include/commands')
-rw-r--r-- | src/include/commands/discard.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/commands/discard.h b/src/include/commands/discard.h new file mode 100644 index 00000000000..f2192392ae4 --- /dev/null +++ b/src/include/commands/discard.h @@ -0,0 +1,20 @@ +/*------------------------------------------------------------------------- + * + * discard.h + * prototypes for discard.c. + * + * + * Copyright (c) 1996-2007, PostgreSQL Global Development Group + * + * $PostgreSQL: pgsql/src/include/commands/discard.h,v 1.1 2007/04/26 16:13:13 neilc Exp $ + * + *------------------------------------------------------------------------- + */ +#ifndef DISCARD_H +#define DISCARD_H + +#include "nodes/parsenodes.h" + +extern void DiscardCommand(DiscardStmt *stmt, bool isTopLevel); + +#endif /* DISCARD_H */ |