バージョンごとのドキュメント一覧

ALTER EVENT TRIGGER

ALTER EVENT TRIGGER <refpurpose>change the definition of an event trigger</refpurpose> — イベントトリガの定義を変更する

概要

ALTER EVENT TRIGGER name DISABLE
ALTER EVENT TRIGGER name ENABLE [ REPLICA | ALWAYS ]
ALTER EVENT TRIGGER name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
ALTER EVENT TRIGGER name RENAME TO new_name

説明

<title>Description</title>

<command>ALTER EVENT TRIGGER</command> changes properties of an existing event trigger. ALTER EVENT TRIGGERは既存のイベントトリガの属性を変更します。

You must be superuser to alter an event trigger. イベントトリガを変更するためにはスーパーユーザでなければなりません。

パラメータ

<title>Parameters</title>
name

The name of an existing trigger to alter. 変更する既存のトリガの名前です。

new_owner

The user name of the new owner of the event trigger. イベントトリガの新しい所有者となるユーザの名前です。

new_name

The new name of the event trigger. イベントトリガの新しい名前です。

DISABLE/ENABLE [ REPLICA | ALWAYS ] TRIGGER

These forms configure the firing of event triggers. A disabled trigger is still known to the system, but is not executed when its triggering event occurs. See also <xref linkend="guc-session-replication-role"/>. この構文はイベントトリガの発行処理を設定します。 無効化されたトリガはまだシステムで認識されていますが、きっかけとなるイベントが起きたとしても実行されません。 session_replication_roleも参照してください。

互換性

<title>Compatibility</title>

There is no <command>ALTER EVENT TRIGGER</command> statement in the SQL standard. 標準SQLにはALTER EVENT TRIGGER文はありません。

関連項目

<title>See Also</title> CREATE EVENT TRIGGER, DROP EVENT TRIGGER