Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index4025
DROP POLICYDROP POLICY DROP POLICY — remove a row-level security policy from a table
Synopsis DROP POLICY [ IF EXISTS ] name ON table_name [ CASCADE | RESTRICT ]DROP POLICY
DROP PROCEDUREDROP PROCEDURE DROP PROCEDURE — remove a procedure
Synopsis DROP PROCEDURE [ IF EXISTS ] name [ ( [ [ argmode ] [ argname ] argtype [, ...] ] ) ] [, ...] [ CASCADE | RESTRICT ]DROP PROCEDURE
DROP PUBLICATIONDROP PUBLICATION DROP PUBLICATION — remove a publication
Synopsis DROP PUBLICATION [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP PUBLICATION
DROP ROLEDROP ROLE DROP ROLE — remove a database role
Synopsis DROP ROLE [ IF EXISTS ] name [, ...]DROP ROLE
DROP ROUTINEDROP ROUTINE DROP ROUTINE — remove a routine
Synopsis DROP ROUTINE [ IF EXISTS ] name [ ( [ [ argmode ] [ argname ] argtype [, ...] ] ) ] [, ...] [ CASCADE | RESTRICT ]DROP ROUTINE
DROP RULEDROP RULE DROP RULE — remove a rewrite rule
Synopsis DROP RULE [ IF EXISTS ] name ON table_name [ CASCADE | RESTRICT ]DROP RULE
DROP SCHEMADROP SCHEMA DROP SCHEMA — remove a schema
Synopsis DROP SCHEMA [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP SCHEMA
DROP SEQUENCEDROP SEQUENCE DROP SEQUENCE — remove a sequence
Synopsis DROP SEQUENCE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP SEQUENCE
DROP SERVERDROP SERVER DROP SERVER — remove a foreign server descriptor
Synopsis DROP SERVER [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP SERVER
DROP STATISTICSDROP STATISTICS DROP STATISTICS — remove extended statistics
Synopsis DROP STATISTICS [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP STATISTICS
DROP SUBSCRIPTIONDROP SUBSCRIPTION DROP SUBSCRIPTION — remove a subscription
Synopsis DROP SUBSCRIPTION [ IF EXISTS ] name [ CASCADE | RESTRICT ]DROP SUBSCRIPTION
DROP TABLEDROP TABLE DROP TABLE — remove a table
Synopsis DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP TABLE
DROP TABLESPACEDROP TABLESPACE DROP TABLESPACE — remove a tablespace
Synopsis DROP TABLESPACE [ IF EXISTS ] nameDROP TABLESPACE
DROP TEXT SEARCH CONFIGURATIONDROP TEXT SEARCH CONFIGURATION DROP TEXT SEARCH CONFIGURATION — remove a text search configuration
Synopsis DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] name [ CASCADE | RESTRICT ]DROP TEXT SEARCH CONFIGURATION
DROP TEXT SEARCH DICTIONARYDROP TEXT SEARCH DICTIONARY DROP TEXT SEARCH DICTIONARY — remove a text search dictionary
Synopsis DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] name [ CASCADE | RESTRICT ]DROP TEXT SEARCH DICTIONARY
DROP TEXT SEARCH PARSERDROP TEXT SEARCH PARSER DROP TEXT SEARCH PARSER — remove a text search parser
Synopsis DROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ]DROP TEXT SEARCH PARSER
DROP TEXT SEARCH TEMPLATEDROP TEXT SEARCH TEMPLATE DROP TEXT SEARCH TEMPLATE — remove a text search template
Synopsis DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] name [ CASCADE | RESTRICT ]DROP TEXT SEARCH TEMPLATE
DROP TRANSFORMDROP TRANSFORM DROP TRANSFORM — remove a transform
Synopsis DROP TRANSFORM [ IF EXISTS ] FOR type_name LANGUAGE lang_name [ CASCADE | RESTRICT ]DROP TRANSFORM
DROP TRIGGERDROP TRIGGER DROP TRIGGER — remove a trigger
Synopsis DROP TRIGGER [ IF EXISTS ] name ON table_name [ CASCADE | RESTRICT ]DROP TRIGGER
DROP TYPEDROP TYPE DROP TYPE — remove a data type
Synopsis DROP TYPE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP TYPE
DROP USERDROP USER DROP USER — remove a database role
Synopsis DROP USER [ IF EXISTS ] name [, ...]DROP USER
DROP USER MAPPINGDROP USER MAPPING DROP USER MAPPING — remove a user mapping for a foreign server
Synopsis DROP USER MAPPING [ IF EXISTS ] FOR { user_name | USER | CURRENT_ROLE | CURRENT_USER | PUBLIC } SERV…DROP USER MAPPING
DROP VIEWDROP VIEW DROP VIEW — remove a view
Synopsis DROP VIEW [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]DROP VIEW
dropdbdropdb dropdb — remove a PostgreSQL database
Synopsis dropdb [connection-option...] [option...] dbnamedropdb
Dropping Roles21.4. Dropping Roles
Because roles can own database objects and can hold privileges to access other objects, dropping a role is often not just a matter of a quick DROP ROLE. Any objects owne…Dropping Roles
dropuserdropuser dropuser — remove a PostgreSQL user account
Synopsis dropuser [connection-option...] [option...] [username]dropuser
Dynamic Domain TransitionsF.40.5.5. Dynamic Domain Transitions
It is possible to use SELinux's dynamic domain transition feature to switch the security label of the client process, the client domain, to a new context…Dynamic Domain Transitions
Dynamic Loading36.10.1. Dynamic Loading
The first time a user-defined function in a particular loadable object file is called in a session, the dynamic loader loads that object file into memory so that the…Dynamic Loading
Dynamic SQL34.5. Dynamic SQL
In many cases, the particular SQL statements that an application has to execute are known at the time the application is written. In some cases, however, the SQL statements…Dynamic SQL
Dynamic Tracing27.5. Dynamic Tracing
PostgreSQL provides facilities to support dynamic tracing of the database server. This allows an external utility to be called at specific points in the code and thereb…Dynamic Tracing
earthdistance — calculate great-circle distancesF.14. earthdistance — calculate great-circle distances
The earthdistance module provides two different approaches to calculating great circle distances on the surface of the Earth. The one d…earthdistance — calculate great-circle distances
ecpgecpg ecpg — embedded SQL C preprocessor
Synopsis ecpg [option...] file...ecpg
ECPG — Embedded SQL in CChapter 34. ECPG — Embedded SQL in C
This chapter describes the embedded SQL package for PostgreSQL. It was written by Linus Tolke (<linus@epact.se>) and Michael Meskes (<meskes@postgresql.o…ECPG — Embedded SQL in C
Editing the PO Files56.1.4. Editing the PO Files
The PO files can be edited with a regular text editor. There are also several specialized editors for PO files which can help the process with translation-specif…Editing the PO Files
element_types35.24. element_types
The view element_types contains the data type descriptors of the elements of arrays. When a table column, composite-type attribute, domain, function parameter, or functi…element_types
EmacsJ.5.1. Emacs
nXML Mode, which ships with Emacs, is the most common mode for editing XML documents with Emacs. It will allow you to use Emacs to insert tags and check markup consistency, and …Emacs
Embedded SQL Commands34.14. Embedded SQL Commands
This section describes all SQL commands that are specific to embedded SQL. Also refer to the SQL commands listed in SQL Commands, which can also be used in embed…Embedded SQL Commands
Empty SELECT ListsEmpty SELECT Lists
The list of output expressions after SELECT can be empty, producing a zero-column result table. This is not valid syntax according to the SQL standard. PostgreSQL allows i…Empty SELECT Lists
enabled_roles35.25. enabled_roles
The view enabled_roles identifies the currently “enabled roles”. The enabled roles are recursively defined as the current user together with all roles that have been gra…enabled_roles
Encoding Handling8.13.2. Encoding Handling
Care must be taken when dealing with multiple character encodings on the client, server, and in the XML data passed through them. When using the text mode to pass q…Encoding Handling
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open