From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/sql-dropdomain.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/src/sgml/html/sql-dropdomain.html (limited to 'doc/src/sgml/html/sql-dropdomain.html') diff --git a/doc/src/sgml/html/sql-dropdomain.html b/doc/src/sgml/html/sql-dropdomain.html new file mode 100644 index 0000000..c0410a1 --- /dev/null +++ b/doc/src/sgml/html/sql-dropdomain.html @@ -0,0 +1,29 @@ + +DROP DOMAIN

DROP DOMAIN

DROP DOMAIN — remove a domain

Synopsis

+DROP DOMAIN [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
+

Description

+ DROP DOMAIN removes a domain. Only the owner of + a domain can remove it. +

Parameters

IF EXISTS

+ Do not throw an error if the domain does not exist. A notice is issued + in this case. +

name

+ The name (optionally schema-qualified) of an existing domain. +

CASCADE

+ Automatically drop objects that depend on the domain (such as + table columns), + and in turn all objects that depend on those objects + (see Section 5.14). +

RESTRICT

+ Refuse to drop the domain if any objects depend on it. This is + the default. +

Examples

+ To remove the domain box: + +

+DROP DOMAIN box;
+

Compatibility

+ This command conforms to the SQL standard, except for the + IF EXISTS option, which is a PostgreSQL + extension. +

\ No newline at end of file -- cgit v1.2.3