This file is indexed.

/usr/share/pgmodeler/schemas/xml/trigger.sch is in pgmodeler-common 0.9.1~beta-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# XML definition for triggers
# CAUTION: Do not modify this file unless you know what you are doing.
#          Code generation can be broken if incorrect changes are made.
 [<trigger name=] "{name}" 
 [ firing-type=] "{firing-type}"
 [ per-line=] %if {per-line} %then "true" %else "false" %end
 [ constraint=] %if {constraint} %then "true" %else "false" %end

 $br $tb

 [ ins-event=] %if {ins-event} %then "true" %else "false" %end
 [ del-event=] %if {del-event} %then "true" %else "false" %end
 [ upd-event=] %if {upd-event} %then "true" %else "false" %end
 [ trunc-event=] %if {trunc-event} %then "true" %else "false" %end

 %if {arguments} %then
   [ arguments=] "{arguments}" 
 %end

 %if {deferrable} %then
  $br $tb 
  %if {decl-in-table} %then $tb %end
  [ deferrable=] "true"
  [ defer-type=] "{defer-type}"
 %end

 %if {ref-table} %then
  [ ref-table=] "{ref-table}"
 %end

 %if {protected} %then 
  [ protected=] "true"
 %end

   $br $tb [ table=] "{table}"


  %if {sql-disabled} %then
   [ sql-disabled=] "true"
  %end

 > $br
 %if {comment} %then $tb {comment} %end

 %if {appended-sql} %then {appended-sql} %end
 %if {prepended-sql} %then {prepended-sql} %end

 %if {condition} %then
   $tb <condition> <! $ob CDATA $ob {condition} $cb $cb > </condition> $br
 %end

$tb {trigger-func}

 %if {columns} %then
   %if {decl-in-table} %then $tb %end
   $tb [<columns ] names="{columns}"/> $br
 %end

</trigger> $br $br