Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index4025
DescriptionDescription
DROP TEXT SEARCH CONFIGURATION drops an existing text search configuration. To execute this command you must be the owner of the configuration.Description
DescriptionDescription
DROP TEXT SEARCH DICTIONARY drops an existing text search dictionary. To execute this command you must be the owner of the dictionary.Description
DescriptionDescription
DROP TEXT SEARCH PARSER drops an existing text search parser. You must be a superuser to use this command.Description
DescriptionDescription
DROP TEXT SEARCH TEMPLATE drops an existing text search template. You must be a superuser to use this command.Description
DescriptionDescription
DROP TYPE removes a user-defined data type. Only the owner of a type can remove it.Description
DescriptionDescription
DROP USER is simply an alternate spelling of DROP ROLE.Description
DescriptionDescription
DROP USER MAPPING removes an existing user mapping from foreign server.
The owner of a foreign server can drop user mappings for that server for any user. Also, a user can drop a…Description
DescriptionDescription
DROP VIEW drops an existing view. To execute this command you must be the owner of the view.Description
DescriptionDescription
END commits the current transaction. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs. This command is a PostgreSQL…Description
DescriptionDescription
EXECUTE is used to execute a previously prepared statement. Since prepared statements only exist for the duration of a session, the prepared statement must have been created by a…Description
DescriptionDescription
This command displays the execution plan that the PostgreSQL planner generates for the supplied statement. The execution plan shows how the table(s) referenced by the statement w…Description
DescriptionDescription
FETCH retrieves rows using a previously-created cursor.
A cursor has an associated position, which is used by FETCH. The cursor position can be before the first row of the query …Description
DescriptionDescription
The GRANT command has two basic variants: one that grants privileges on a database object (table, column, view, foreign table, sequence, database, foreign-data wrapper, foreign s…Description
DescriptionDescription
IMPORT FOREIGN SCHEMA creates foreign tables that represent tables existing on a foreign server. The new foreign tables will be owned by the user issuing the command and are crea…Description
DescriptionDescription
INSERT inserts new rows into a table. One can insert one or more rows specified by value expressions, or zero or more rows resulting from a query.
The target column names can be …Description
DescriptionDescription
LISTEN registers the current session as a listener on the notification channel named channel. If the current session is already registered as a listener for this notification cha…Description
DescriptionDescription
This command loads a shared library file into the PostgreSQL server's address space. If the file has been loaded already, the command does nothing. Shared library files that cont…Description
DescriptionDescription
LOCK TABLE obtains a table-level lock, waiting if necessary for any conflicting locks to be released. If NOWAIT is specified, LOCK TABLE does not wait to acquire the desired lock…Description
DescriptionDescription
MERGE performs actions that modify rows in the target table identified as target_table_name, using the data_source. MERGE provides a single SQL statement that can conditionally I…Description
DescriptionDescription
MOVE repositions a cursor without retrieving any data. MOVE works exactly like the FETCH command, except it only positions the cursor and does not return rows.
The parameters for…Description
DescriptionDescription
The NOTIFY command sends a notification event together with an optional “payload” string to each client application that has previously executed LISTEN channel for the specified …Description
DescriptionDescription
PREPARE TRANSACTION prepares the current transaction for two-phase commit. After this command, the transaction is no longer associated with the current session; instead, its stat…Description
DescriptionDescription
PREPARE creates a prepared statement. A prepared statement is a server-side object that can be used to optimize performance. When the PREPARE statement is executed, the specified…Description
DescriptionDescription
REASSIGN OWNED instructs the system to change the ownership of database objects owned by any of the old_roles to new_role.Description
DescriptionDescription
REFRESH MATERIALIZED VIEW completely replaces the contents of a materialized view. To execute this command you must have the MAINTAIN privilege on the materialized view. The old …Description
DescriptionDescription
REINDEX rebuilds an index using the data stored in the index's table, replacing the old copy of the index. There are several scenarios in which to use REINDEX:
An index has becom…Description
DescriptionDescription
RELEASE SAVEPOINT releases the named savepoint and all active savepoints that were created after the named savepoint, and frees their resources. All changes made since the creati…Description
DescriptionDescription
RESET restores run-time parameters to their default values. RESET is an alternative spelling for
SET configuration_parameter TO DEFAULT
Refer to SET for details.
The default valu…Description
DescriptionDescription
The REVOKE command revokes previously granted privileges from one or more roles. The key word PUBLIC refers to the implicitly defined group of all roles.
See the description of t…Description
DescriptionDescription
ROLLBACK PREPARED rolls back a transaction that is in prepared state.Description
DescriptionDescription
Roll back all commands that were executed after the savepoint was established and then start a new subtransaction at the same transaction level. The savepoint remains valid and c…Description
DescriptionDescription
ROLLBACK rolls back the current transaction and causes all the updates made by the transaction to be discarded.Description
DescriptionDescription
SAVEPOINT establishes a new savepoint within the current transaction.
A savepoint is a special mark inside a transaction that allows all commands that are executed after it was e…Description
DescriptionDescription
SECURITY LABEL applies a security label to a database object. An arbitrary number of security labels, one per label provider, can be associated with a given database object. Labe…Description
DescriptionDescription
SELECT retrieves rows from zero or more tables. The general processing of SELECT is as follows:
All queries in the WITH list are computed. These effectively serve as temporary ta…Description
DescriptionDescription
SELECT INTO creates a new table and fills it with data computed by a query. The data is not returned to the client, as it is with a normal SELECT. The new table's columns have th…Description
DescriptionDescription
SET CONSTRAINTS sets the behavior of constraint checking within the current transaction. IMMEDIATE constraints are checked at the end of each statement. DEFERRED constraints are …Description
DescriptionDescription
This command sets the current user identifier of the current SQL session to be role_name. The role name can be written as either an identifier or a string literal. After SET ROLE…Description
DescriptionDescription
This command sets the session user identifier and the current user identifier of the current SQL session to be user_name. The user name can be written as either an identifier or …Description
DescriptionDescription
The SET TRANSACTION command sets the characteristics of the current transaction. It has no effect on any subsequent transactions. SET SESSION CHARACTERISTICS sets the default tra…Description
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open