/usr/share/pgmodeler/schemas/xml/view.sch is in pgmodeler-common 0.8.1-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 | # XML definition for views
# CAUTION: Do not modify this file unless you know what you are doing.
# Code generation can be broken if incorrect changes are made.
[<view name=] "{name}"
%if {protected} %then
[ protected=] "true"
%end
%if {materialized} %then
[ materialized=] "true"
%end
%if {recursive} %then
[ recursive=] "true"
%end
%if {with-no-data} %then
[ with-no-data=] "true"
%end
%if {sql-disabled} %then
[ sql-disabled=] "true"
%end
> $br
{schema}
%if {owner} %then {owner} %end
%if {tablespace} %and {materialized} %then {tablespace} %end
%if {comment} %then {comment} %end
%if {tag} %then {tag} %end
%if {appended-sql} %then {appended-sql} %end
%if {prepended-sql} %then {prepended-sql} %end
{position}
{references}
%if {select-exp} %then
$tb [<expression type="select-exp">] {select-exp} </expression> $br
%end
%if {from-exp} %then
$tb [<expression type="from-exp">] {from-exp} </expression> $br
%end
%if {simple-exp} %then
$tb [<expression type="simple-exp">] {simple-exp} </expression> $br
%end
%if {cte-exp} %then
$tb [<expression type="cte-exp">] <! $ob CDATA $ob {cte-exp} $cb $cb ></expression> $br
%end
</view> $br $br
|