DROP RULE

Name

DROP RULE  --  Removes an existing rule from the database 既存のルールをデータベースから削除する

Synopsis

DROP RULE name
  

入力

name

The name of an existing rule to drop.

削除する既存のルールの名前です。

出力

DROP

Message returned if successfully.

成功した場合に返されるメッセージ。

ERROR: RewriteGetRuleEventRel: rule "name" not found

This message occurs if the specified rule does not exist.

このメッセージは指定したルールが存在しなかった場合に表示 されます。

説明

DROP RULE drops a rule from the specified Postgres rule system. Postgres will immediately cease enforcing it and will purge its definition from the system catalogs.

DROP RULE は、指定の Postgres ルールシステムから ルールを削除します。Postgres はすぐにそのルールの適用を止め、システムカタログから その定義を取り去ります。

注意

The DROP RULE statement is a Postgres language extension.

DROP RULE は、 Postgres の拡張言語です。

Refer to CREATE RULE for information on how to create rules.

ルールを作成する方法は、 CREATE RULE を参照してください。

バグ情報

Once a rule is dropped, access to historical information the rule has written may disappear.

ひとたびルールが削除されたら、そのルールが書き込んだ過去情報 へのアクセスは消滅してしまいます。

使用法

To drop the rewrite rule newrule:

newrule というルールを削除します:

DROP RULE newrule;
   

互換性

SQL92

There is no DROP RULE in SQL92.

SQL92 には、DROP RULE は有りません。