File: table.sch

package info (click to toggle)
pgmodeler 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,160 kB
  • sloc: cpp: 99,216; xml: 27; sh: 15; makefile: 6
file content (50 lines) | stat: -rw-r--r-- 1,757 bytes parent folder | download | duplicates (2)
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
# XML definition for tables
# CAUTION: Do not modify this file unless you know what you are doing.
# Code generation can be broken if incorrect changes are made.
[<table name=] "&{name}"
%if {layers} %then [ layers=] "{layers}" %end
%if {alias} %then [ alias=] "&{alias}" %end
%if {oids} %then [ oids="true"] %end
%if {gen-alter-cmds} %then [ gen-alter-cmds="true"] %end
%if {unlogged} %then [ unlogged="true"] %end
%if {protected} %then [ protected=] "true" %end
%if {sql-disabled} %then [ sql-disabled=] "true" %end
%if {collapse-mode} %then [ collapse-mode=] "{collapse-mode}" %end
%if {pagination} %then [ pagination=] "true" %end
%if {attribs-page} %then [ attribs-page=] "{attribs-page}" %end
%if {ext-attribs-page} %then [ ext-attribs-page=] "{ext-attribs-page}" %end
%if {faded-out} %then [ faded-out=] "true" %end
%if {rls-enabled} %then [ rls-enabled=] "true" %end
%if {rls-forced} %then [ rls-forced=] "true" %end
%if {max-obj-count} %then [ max-obj-count=] "{max-obj-count}" %end
%if {z-value} %then [ z-value=] "{z-value}" %end
> $br

{schema}
%if {owner} %then {owner} %end
%if {tablespace} %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}

%if {columns} %then {columns} %end
%if {constraints} %then {constraints} %end

%if {col-indexes} %then {col-indexes} %end
%if {constr-indexes} %then {constr-indexes} %end

%if {partitioning} %and {partitionkey} %then
	$tb [<partitioning type=] "{partitioning}" [>] $br
	{partitionkey}
	$tb [</partitioning>] $br
%end

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

</table> $br $br