/usr/share/pgmodeler/schemas/xml/function.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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | # XML definition for functions
# CAUTION: Do not modify this file unless you know what you are doing.
# Code generation can be broken if incorrect changes are made.
%if {reduced-form} %then $tb %end
<function
%if {reduced-form} %then
%if {ref-type} %then
[ ref-type=] "{ref-type}"
%end
[ signature=] "{signature}"
%else
[ name=] "{name}"
%end
%if {reduced-form} %then
/> $br
%else
%if {protected} %then
[ protected=] "true"
%end
%if {sql-disabled} %then
[ sql-disabled=] "true"
%end
$br
$tb $tb window-func=%if {window-func} %then "true" %else "false" %end $br
%if {leakproof} %then $tb $tb leakproof="true" $br %end
$tb $tb returns-setof=%if {returns-setof} %then "true" %else "false" %end $br
$tb $tb behavior-type="{behavior-type}" $br
$tb $tb function-type="{function-type}" $br
$tb $tb security-type="{security-type}" $br
$tb $tb execution-cost="{execution-cost}" $br
$tb $tb row-amount="{row-amount}"
> $br
{schema}
%if {owner} %then {owner} %end
%if {comment} %then {comment} %end
%if {appended-sql} %then {appended-sql} %end
%if {prepended-sql} %then {prepended-sql} %end
%if {language} %then {language} %end
$tb <return-type> $br
%if {return-table} %then
{return-table}
%else
{return-type}
%end
$tb </return-type> $br
%if {parameters} %then {parameters} %end
%if {library} %then
$tb [<definition library=] "{library}"
%if {symbol} %then
[ symbol=] "{symbol}"
%end
/> $br
%else
$tb <definition><! $ob CDATA $ob {definition} $cb $cb ></definition> $br
%end
</function> $br $br
%end
|