/usr/share/pgmodeler/schemas/xml/view.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 | # 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
%if {hide-ext-attribs} %then [ hide-ext-attribs=] "true" %end
%if {faded-out} %then [ faded-out=] "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 {end-exp} %then
$tb [<expression type="end-exp">] {end-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
|