mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
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.
This commit is contained in:
20
src/include/commands/discard.h
Normal file
20
src/include/commands/discard.h
Normal file
@@ -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 */
|
Reference in New Issue
Block a user