From 46651ce6fe013220ed397add242004d764fc0153 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:15:05 +0200 Subject: Adding upstream version 14.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/sql-droplanguage.html | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/src/sgml/html/sql-droplanguage.html (limited to 'doc/src/sgml/html/sql-droplanguage.html') diff --git a/doc/src/sgml/html/sql-droplanguage.html b/doc/src/sgml/html/sql-droplanguage.html new file mode 100644 index 0000000..5948613 --- /dev/null +++ b/doc/src/sgml/html/sql-droplanguage.html @@ -0,0 +1,35 @@ + +DROP LANGUAGE

DROP LANGUAGE

DROP LANGUAGE — remove a procedural language

Synopsis

+DROP [ PROCEDURAL ] LANGUAGE [ IF EXISTS ] name [ CASCADE | RESTRICT ]
+

Description

+ DROP LANGUAGE removes the definition of a + previously registered procedural language. You must be a superuser + or the owner of the language to use DROP LANGUAGE. +

Note

+ As of PostgreSQL 9.1, most procedural + languages have been made into extensions, and should + therefore be removed with DROP EXTENSION + not DROP LANGUAGE. +

Parameters

IF EXISTS

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

name

+ The name of an existing procedural language. +

CASCADE

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

RESTRICT

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

Examples

+ This command removes the procedural language + plsample: + +

+DROP LANGUAGE plsample;
+

Compatibility

+ There is no DROP LANGUAGE statement in the SQL + standard. +

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