|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/xact.h"#include "catalog/namespace.h"#include "commands/async.h"#include "commands/discard.h"#include "commands/prepare.h"#include "commands/sequence.h"#include "utils/guc.h"#include "utils/portal.h"
Go to the source code of this file.
Functions | |
| static void | DiscardAll (bool isTopLevel) |
| void | DiscardCommand (DiscardStmt *stmt, bool isTopLevel) |
|
static |
Definition at line 57 of file discard.c.
References Async_UnlistenAll(), DropAllPreparedStatements(), LockReleaseAll(), NIL, PortalHashTableDeleteAll(), PreventInTransactionBlock(), ResetAllOptions(), ResetPlanCache(), ResetSequenceCaches(), ResetTempTableNamespace(), SetPGVariable(), and USER_LOCKMETHOD.
Referenced by DiscardCommand().
| void DiscardCommand | ( | DiscardStmt * | stmt, |
| bool | isTopLevel | ||
| ) |
Definition at line 31 of file discard.c.
References DISCARD_ALL, DISCARD_PLANS, DISCARD_SEQUENCES, DISCARD_TEMP, DiscardAll(), elog, ERROR, ResetPlanCache(), ResetSequenceCaches(), ResetTempTableNamespace(), and stmt.
Referenced by standard_ProcessUtility().