Contents
DISCARD
A utility command for releasing session resources
DISCARD
is a utility command for releasing resources associated with a session.
DISCARD
was added in PostgreSQL 8.3.
Change history
- PostgreSQL 9.4
DISCARD SEQUENCES
syntax added (commit d90ced8b)
- PostgreSQL 8.3
- added (initial commit d13e903b)
Note that the DISCARD
command was initially implemented as variants of the RESET
command, but changed to DISCARD ...
in commit 16efdb5e).
References
- PostgreSQL documentation: DISCARD
Categories
See also
DEALLOCATE, RESET