From 293913568e6a7a86fd1479e1cff8e2ecb58d6568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 15:44:03 +0200 Subject: Adding upstream version 16.2. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/sql-droprule.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/src/sgml/html/sql-droprule.html (limited to 'doc/src/sgml/html/sql-droprule.html') diff --git a/doc/src/sgml/html/sql-droprule.html b/doc/src/sgml/html/sql-droprule.html new file mode 100644 index 0000000..9847e32 --- /dev/null +++ b/doc/src/sgml/html/sql-droprule.html @@ -0,0 +1,30 @@ + +DROP RULE

DROP RULE

DROP RULE — remove a rewrite rule

Synopsis

+DROP RULE [ IF EXISTS ] name ON table_name [ CASCADE | RESTRICT ]
+

Description

+ DROP RULE drops a rewrite rule. +

Parameters

IF EXISTS

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

name

+ The name of the rule to drop. +

table_name

+ The name (optionally schema-qualified) of the table or view that + the rule applies to. +

CASCADE

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

RESTRICT

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

Examples

+ To drop the rewrite rule newrule: + +

+DROP RULE newrule ON mytable;
+

Compatibility

+ DROP RULE is a + PostgreSQL language extension, as is the + entire query rewrite system. +

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