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

53.21. pg_event_trigger #

The catalog <structname>pg_event_trigger</structname> stores event triggers. See <xref linkend="event-triggers"/> for more information. pg_event_triggerカタログはイベントトリガを格納します。 詳細は第40章を参照してください。

表53.21 pg_event_triggerの列

<title><structname>pg_event_trigger</structname> Columns</title>

Column Type 列 型

Description 説明

oid oid

Row identifier 行識別子

evtname name

Trigger name (must be unique) トリガ名(一意でなければなりません)

evtevent name

Identifies the event for which this trigger fires このトリガが発行する対象のイベントを識別します

evtowner oid (references <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.<structfield>oid</structfield>) (参照先 pg_authid.oid

Owner of the event trigger イベントトリガの所有者

evtfoid oid (references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>) (参照先 pg_proc.oid

The function to be called 呼び出される関数

evtenabled char

Controls in which <xref linkend="guc-session-replication-role"/> modes the event trigger fires. <literal>O</literal> = trigger fires in <quote>origin</quote> and <quote>local</quote> modes, <literal>D</literal> = trigger is disabled, <literal>R</literal> = trigger fires in <quote>replica</quote> mode, <literal>A</literal> = trigger fires always. どのsession_replication_role モードでこのイベントトリガを発行するかを制御します。 O = トリガはoriginおよびlocalモードで発行、 D = トリガは無効、 R = トリガはreplicaモードで発行、 A = トリガは常に発行。

evttags text[]

Command tags for which this trigger will fire. If NULL, the firing of this trigger is not restricted on the basis of the command tag. このトリガを発行するコマンドタグです。 NULLの場合、このトリガの発行はコマンドタグに基づいて制限されていません。