DISCARD man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

DISCARD(7)		PostgreSQL 9.3.2 Documentation		    DISCARD(7)

NAME
       DISCARD - discard session state

SYNOPSIS
       DISCARD { ALL | PLANS | TEMPORARY | TEMP }

DESCRIPTION
       DISCARD releases internal resources associated with a database session.
       These resources are normally released at the end of the session.

       DISCARD TEMP drops all temporary tables created in the current session.
       DISCARD PLANS releases all internally cached query plans.  DISCARD ALL
       resets a session to its original state, discarding temporary resources
       and resetting session-local configuration changes.

PARAMETERS
       TEMPORARY or TEMP
	   Drops all temporary tables created in the current session.

       PLANS
	   Releases all cached query plans.

       ALL
	   Releases all temporary resources associated with the current
	   session and resets the session to its initial state. Currently,
	   this has the same effect as executing the following sequence of
	   statements:

	       SET SESSION AUTHORIZATION DEFAULT;
	       RESET ALL;
	       DEALLOCATE ALL;
	       CLOSE ALL;
	       UNLISTEN *;
	       SELECT pg_advisory_unlock_all();
	       DISCARD PLANS;
	       DISCARD TEMP;

NOTES
       DISCARD ALL cannot be executed inside a transaction block.

COMPATIBILITY
       DISCARD is a PostgreSQL extension.

PostgreSQL 9.3.2		     2013			    DISCARD(7)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net