Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries9981
Parametersprepared_name # The name of a prepared statement. This can be an SQL identifier or a host variable. descriptor_name # A descriptor name. It is case sensitive. It can be an SQL identifier or …
Parametersconnection_name # A database connection name established by the CONNECT command. CURRENT # Close the “current” connection, which is either the most recently opened connection, or the connect…
Parametersstring # A literal string or a host variable containing the SQL statement to be executed.
Parametersdescriptor_name # A descriptor name. descriptor_header_item # A token identifying which header information item to retrieve. Only COUNT, to get the number of columns in the result set, is cu…
Parameterscursor_name # The name of the cursor to be opened. This can be an SQL identifier or a host variable. value # A value to be bound to a placeholder in the cursor. This can be an SQL constant, …
Parametersprepared_name # An identifier for the prepared query. string # A literal string or a host variable containing a preparable SQL statement, one of SELECT, INSERT, UPDATE, or DELETE. Use questi…
Parametersconnection_name # A database connection name established by the CONNECT command. CURRENT # Set the connection to the current connection (thus, nothing happens).
Parametersdescriptor_name # A descriptor name. descriptor_header_item # A token identifying which header information item to set. Only COUNT, to set the number of descriptor items, is currently suppor…
Parameterstype_name # The name for the new type. It must be a valid C type name. ctype # A C type specification.
Parametersvarname # A C variable name. ctype # A C type specification.
ParametersSee Section 34.8.1 for a description of the parameters.
parametersThe view parameters contains information about the parameters (arguments) of all functions in the current database. Only those functions are shown that the current user has access to (by way…
ParametersWORKTRANSACTION Optional key words. They have no effect. AND CHAIN If AND CHAIN is specified, a new transaction is immediately started with the same transaction characteristics (see SET TRAN…
Parametersname The name (optionally schema-qualified) of an existing aggregate function. argmode The mode of an argument: IN or VARIADIC. If omitted, the default is IN. argname The name of an argument…
Parametersname The name (optionally schema-qualified) of an existing collation. new_name The new name of the collation. new_owner The new owner of the collation. new_schema The new schema for the coll…
Parametersname The name (optionally schema-qualified) of an existing conversion. new_name The new name of the conversion. new_owner The new owner of the conversion. new_schema The new schema for the c…
Parametersname The name of the database whose attributes are to be altered. allowconn If false then no one can connect to this database. connlimit How many concurrent connections can be made to this d…
Parameterstarget_role Change default privileges for objects created by the target_role, or the current role if unspecified. schema_name The name of an existing schema. If specified, the default privil…
Parametersname The name (possibly schema-qualified) of an existing domain to alter. domain_constraint New domain constraint for the domain. constraint_name Name of an existing constraint to drop or re…
Parametersname The name of an existing trigger to alter. new_owner The user name of the new owner of the event trigger. new_name The new name of the event trigger. DISABLE/ENABLE [ REPLICA | ALWAYS ] …
Parametersname The name of an installed extension. new_version The desired new version of the extension. This can be written as either an identifier or a string literal. If not specified, ALTER EXTENS…
Parametersname The name of an existing foreign-data wrapper. HANDLER handler_function Specifies a new handler function for the foreign-data wrapper. NO HANDLER This is used to specify that the foreign…
Parametersname The name (possibly schema-qualified) of an existing foreign table to alter. If ONLY is specified before the table name, only that table is altered. If ONLY is not specified, the table a…
Parametersname The name (optionally schema-qualified) of an existing function. If no argument list is specified, the name must be unique in its schema. argmode The mode of an argument: IN, OUT, INOUT,…
Parametersgroup_name The name of the group (role) to modify. user_name Users (roles) that are to be added to or removed from the group. The users must already exist; ALTER GROUP does not create or dro…
ParametersIF EXISTS Do not throw an error if the index does not exist. A notice is issued in this case. column_number The ordinal number refers to the ordinal (left-to-right) position of the index col…
Parametersname Name of a language new_name The new name of the language new_owner The new owner of the language
Parameterslarge_object_oid OID of the large object to be altered new_owner The new owner of the large object
Parametersname The name (optionally schema-qualified) of an existing materialized view. column_name Name of an existing column. extension_name The name of the extension that the materialized view is t…
Parametersname The name (optionally schema-qualified) of an existing operator class. index_method The name of the index method this operator class is for. new_name The new name of the operator class. …
Parametersname The name (optionally schema-qualified) of an existing operator. left_type The data type of the operator's left operand; write NONE if the operator has no left operand. right_type The da…
Parametersname The name (optionally schema-qualified) of an existing operator family. index_method The name of the index method this operator family is for. strategy_number The index method's strategy…
Parametersname The name of an existing policy to alter. table_name The name (optionally schema-qualified) of the table that the policy is on. new_name The new name for the policy. role_name The role(s…
Parametersname The name (optionally schema-qualified) of an existing procedure. If no argument list is specified, the name must be unique in its schema. argmode The mode of an argument: IN, OUT, INOUT…
Parametersname The name of an existing publication whose definition is to be altered. table_name Name of an existing table. If ONLY is specified before the table name, only that table is affected. If …
Parametersname # The name of the role whose attributes are to be altered. CURRENT_ROLECURRENT_USER # Alter the current user instead of an explicitly identified role. SESSION_USER # Alter the current s…
Parametersname The name of an existing rule to alter. table_name The name (optionally schema-qualified) of the table or view that the rule applies to. new_name The new name for the rule.
Parametersname The name of an existing schema. new_name The new name of the schema. The new name cannot begin with pg_, as such names are reserved for system schemas. new_owner The new owner of the sc…
Parametersname The name (optionally schema-qualified) of a sequence to be altered. IF EXISTS Do not throw an error if the sequence does not exist. A notice is issued in this case. data_type The option…
Parametersname The name of an existing server. new_version New server version. OPTIONS ( [ ADD | SET | DROP ] option ['value'] [, ... ] ) Change options for the server. ADD, SET, and DROP specify the …
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
Searching every version by default. Manual pages are indexed for PostgreSQL 10–20; the reference library and extension catalogue are not version-bound.
all: every version pg17: one version ex: extensions only ↑↓ select ↵ open