Skip to content

Commit 9763402

Browse files
authored
Merge pull request #23404 from cockroachdb/2026-05-28-DOC-17061-remote_include-sql-diagrams
Vendor SQL diagrams as local includes
2 parents 9846d1a + cac39f8 commit 9763402

3,555 files changed

Lines changed: 390286 additions & 2079 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div style="overflow-x:auto;"><svg width="723" height="147">
2+
<polygon points="9 17 1 13 1 21"></polygon>
3+
<polygon points="17 17 9 13 9 21"></polygon>
4+
<rect x="31" y="3" width="62" height="32" rx="10"></rect>
5+
<rect x="29" y="1" width="62" height="32" class="terminal" rx="10"></rect>
6+
<text class="terminal" x="39" y="21">ALTER</text>
7+
<rect x="113" y="3" width="74" height="32" rx="10"></rect>
8+
<rect x="111" y="1" width="74" height="32" class="terminal" rx="10"></rect>
9+
<text class="terminal" x="121" y="21">BACKUP</text>
10+
<rect x="227" y="3" width="70" height="32" rx="10"></rect>
11+
<rect x="225" y="1" width="70" height="32" class="terminal" rx="10"></rect>
12+
<text class="terminal" x="235" y="21">LATEST</text>
13+
<rect x="227" y="47" width="98" height="32"></rect>
14+
<rect x="225" y="45" width="98" height="32" class="nonterminal"></rect>
15+
<text class="nonterminal" x="235" y="65">subdirectory</text><rect x="365" y="3" width="36" height="32" rx="10"></rect>
16+
<rect x="363" y="1" width="36" height="32" class="terminal" rx="10"></rect>
17+
<text class="terminal" x="373" y="21">IN</text>
18+
<rect x="421" y="3" width="102" height="32"></rect>
19+
<rect x="419" y="1" width="102" height="32" class="nonterminal"></rect>
20+
<text class="nonterminal" x="429" y="21">collectionURI</text><rect x="543" y="3" width="48" height="32" rx="10"></rect>
21+
<rect x="541" y="1" width="48" height="32" class="terminal" rx="10"></rect>
22+
<text class="terminal" x="551" y="21">ADD</text>
23+
<rect x="611" y="3" width="90" height="32" rx="10"></rect>
24+
<rect x="609" y="1" width="90" height="32" class="terminal" rx="10"></rect>
25+
<text class="terminal" x="619" y="21">NEW_KMS</text>
26+
<rect x="353" y="113" width="68" height="32"></rect>
27+
<rect x="351" y="111" width="68" height="32" class="nonterminal"></rect>
28+
<text class="nonterminal" x="361" y="131">kmsURI</text><rect x="441" y="113" width="58" height="32" rx="10"></rect>
29+
<rect x="439" y="111" width="58" height="32" class="terminal" rx="10"></rect>
30+
<text class="terminal" x="449" y="131">WITH</text>
31+
<rect x="519" y="113" width="88" height="32" rx="10"></rect>
32+
<rect x="517" y="111" width="88" height="32" class="terminal" rx="10"></rect>
33+
<text class="terminal" x="527" y="131">OLD_KMS</text>
34+
<rect x="627" y="113" width="68" height="32"></rect>
35+
<rect x="625" y="111" width="68" height="32" class="nonterminal"></rect>
36+
<text class="nonterminal" x="635" y="131">kmsURI</text><path class="line" d="m17 17 h2 m0 0 h10 m62 0 h10 m0 0 h10 m74 0 h10 m20 0 h10 m70 0 h10 m0 0 h28 m-138 0 h20 m118 0 h20 m-158 0 q10 0 10 10 m138 0 q0 -10 10 -10 m-148 10 v24 m138 0 v-24 m-138 24 q0 10 10 10 m118 0 q10 0 10 -10 m-128 10 h10 m98 0 h10 m20 -44 h10 m36 0 h10 m0 0 h10 m102 0 h10 m0 0 h10 m48 0 h10 m0 0 h10 m90 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-392 110 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m68 0 h10 m0 0 h10 m58 0 h10 m0 0 h10 m88 0 h10 m0 0 h10 m68 0 h10 m3 0 h-3"></path>
37+
<polygon points="713 127 721 123 721 131"></polygon>
38+
<polygon points="713 127 705 123 705 131"></polygon></svg></div>
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<div style="overflow-x:auto;"><svg width="493" height="411">
2+
<polygon points="11 17 3 13 3 21"></polygon>
3+
<polygon points="19 17 11 13 11 21"></polygon>
4+
<rect x="33" y="3" width="62" height="32" rx="10"></rect>
5+
<rect x="31" y="1" width="62" height="32" class="terminal" rx="10"></rect>
6+
<text class="terminal" x="41" y="21">ALTER</text>
7+
<rect x="115" y="3" width="74" height="32" rx="10"></rect>
8+
<rect x="113" y="1" width="74" height="32" class="terminal" rx="10"></rect>
9+
<text class="terminal" x="123" y="21">BACKUP</text>
10+
<rect x="209" y="3" width="92" height="32" rx="10"></rect>
11+
<rect x="207" y="1" width="92" height="32" class="terminal" rx="10"></rect>
12+
<text class="terminal" x="217" y="21">SCHEDULE</text>
13+
<rect x="321" y="3" width="96" height="32"></rect>
14+
<rect x="319" y="1" width="96" height="32" class="nonterminal"></rect>
15+
<text class="nonterminal" x="329" y="21">schedule_id</text><rect x="45" y="113" width="44" height="32" rx="10"></rect>
16+
<rect x="43" y="111" width="44" height="32" class="terminal" rx="10"></rect>
17+
<text class="terminal" x="53" y="131">SET</text>
18+
<rect x="129" y="113" width="62" height="32" rx="10"></rect>
19+
<rect x="127" y="111" width="62" height="32" class="terminal" rx="10"></rect>
20+
<text class="terminal" x="137" y="131">LABEL</text>
21+
<rect x="211" y="113" width="114" height="32"></rect>
22+
<rect x="209" y="111" width="114" height="32" class="nonterminal"></rect>
23+
<text class="nonterminal" x="219" y="131">schedule_label</text><rect x="129" y="157" width="56" height="32" rx="10"></rect>
24+
<rect x="127" y="155" width="56" height="32" class="terminal" rx="10"></rect>
25+
<text class="terminal" x="137" y="175">INTO</text>
26+
<rect x="205" y="157" width="102" height="32"></rect>
27+
<rect x="203" y="155" width="102" height="32" class="nonterminal"></rect>
28+
<text class="nonterminal" x="213" y="175">collectionURI</text><rect x="129" y="201" width="58" height="32" rx="10"></rect>
29+
<rect x="127" y="199" width="58" height="32" class="terminal" rx="10"></rect>
30+
<text class="terminal" x="137" y="219">WITH</text>
31+
<rect x="207" y="201" width="60" height="32"></rect>
32+
<rect x="205" y="199" width="60" height="32" class="nonterminal"></rect>
33+
<text class="nonterminal" x="215" y="219">option</text><rect x="129" y="245" width="100" height="32" rx="10"></rect>
34+
<rect x="127" y="243" width="100" height="32" class="terminal" rx="10"></rect>
35+
<text class="terminal" x="137" y="263">RECURRING</text>
36+
<rect x="249" y="245" width="68" height="32"></rect>
37+
<rect x="247" y="243" width="68" height="32" class="nonterminal"></rect>
38+
<text class="nonterminal" x="257" y="263">crontab</text><rect x="129" y="289" width="112" height="32" rx="10"></rect>
39+
<rect x="127" y="287" width="112" height="32" class="terminal" rx="10"></rect>
40+
<text class="terminal" x="137" y="307">FULL BACKUP</text>
41+
<rect x="281" y="289" width="68" height="32"></rect>
42+
<rect x="279" y="287" width="68" height="32" class="nonterminal"></rect>
43+
<text class="nonterminal" x="289" y="307">crontab</text><rect x="281" y="333" width="78" height="32" rx="10"></rect>
44+
<rect x="279" y="331" width="78" height="32" class="terminal" rx="10"></rect>
45+
<text class="terminal" x="289" y="351">ALWAYS</text>
46+
<rect x="129" y="377" width="152" height="32" rx="10"></rect>
47+
<rect x="127" y="375" width="152" height="32" class="terminal" rx="10"></rect>
48+
<text class="terminal" x="137" y="395">SCHEDULE OPTION</text>
49+
<rect x="301" y="377" width="124" height="32"></rect>
50+
<rect x="299" y="375" width="124" height="32" class="nonterminal"></rect>
51+
<text class="nonterminal" x="309" y="395">schedule_option</text><rect x="45" y="69" width="24" height="32" rx="10"></rect>
52+
<rect x="43" y="67" width="24" height="32" class="terminal" rx="10"></rect>
53+
<text class="terminal" x="53" y="87">,</text>
54+
<path class="line" d="m19 17 h2 m0 0 h10 m62 0 h10 m0 0 h10 m74 0 h10 m0 0 h10 m92 0 h10 m0 0 h10 m96 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-436 110 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m44 0 h10 m20 0 h10 m62 0 h10 m0 0 h10 m114 0 h10 m0 0 h100 m-336 0 h20 m316 0 h20 m-356 0 q10 0 10 10 m336 0 q0 -10 10 -10 m-346 10 v24 m336 0 v-24 m-336 24 q0 10 10 10 m316 0 q10 0 10 -10 m-326 10 h10 m56 0 h10 m0 0 h10 m102 0 h10 m0 0 h118 m-326 -10 v20 m336 0 v-20 m-336 20 v24 m336 0 v-24 m-336 24 q0 10 10 10 m316 0 q10 0 10 -10 m-326 10 h10 m58 0 h10 m0 0 h10 m60 0 h10 m0 0 h158 m-326 -10 v20 m336 0 v-20 m-336 20 v24 m336 0 v-24 m-336 24 q0 10 10 10 m316 0 q10 0 10 -10 m-326 10 h10 m100 0 h10 m0 0 h10 m68 0 h10 m0 0 h108 m-326 -10 v20 m336 0 v-20 m-336 20 v24 m336 0 v-24 m-336 24 q0 10 10 10 m316 0 q10 0 10 -10 m-326 10 h10 m112 0 h10 m20 0 h10 m68 0 h10 m0 0 h10 m-118 0 h20 m98 0 h20 m-138 0 q10 0 10 10 m118 0 q0 -10 10 -10 m-128 10 v24 m118 0 v-24 m-118 24 q0 10 10 10 m98 0 q10 0 10 -10 m-108 10 h10 m78 0 h10 m20 -44 h46 m-326 -10 v20 m336 0 v-20 m-336 20 v68 m336 0 v-68 m-336 68 q0 10 10 10 m316 0 q10 0 10 -10 m-326 10 h10 m152 0 h10 m0 0 h10 m124 0 h10 m-420 -264 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m420 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-420 0 h10 m24 0 h10 m0 0 h376 m23 44 h-3"></path>
55+
<polygon points="483 127 491 123 491 131"></polygon>
56+
<polygon points="483 127 475 123 475 131"></polygon></svg></div>
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<div style="overflow-x:auto;"><svg width="591" height="459">
2+
<polygon points="11 17 3 13 3 21"></polygon>
3+
<polygon points="19 17 11 13 11 21"></polygon>
4+
<rect x="33" y="3" width="62" height="32" rx="10"></rect>
5+
<rect x="31" y="1" width="62" height="32" class="terminal" rx="10"></rect>
6+
<text class="terminal" x="41" y="21">ALTER</text>
7+
<rect x="115" y="3" width="110" height="32" rx="10"></rect>
8+
<rect x="113" y="1" width="110" height="32" class="terminal" rx="10"></rect>
9+
<text class="terminal" x="123" y="21">CHANGEFEED</text>
10+
<rect x="245" y="3" width="58" height="32"></rect>
11+
<rect x="243" y="1" width="58" height="32" class="nonterminal"></rect>
12+
<text class="nonterminal" x="253" y="21">job_id</text><rect x="65" y="129" width="48" height="32" rx="10"></rect>
13+
<rect x="63" y="127" width="48" height="32" class="terminal" rx="10"></rect>
14+
<text class="terminal" x="73" y="147">ADD</text>
15+
<rect x="153" y="129" width="58" height="32"></rect>
16+
<rect x="151" y="127" width="58" height="32" class="nonterminal"></rect>
17+
<text class="nonterminal" x="161" y="147">target</text><rect x="153" y="85" width="24" height="32" rx="10"></rect>
18+
<rect x="151" y="83" width="24" height="32" class="terminal" rx="10"></rect>
19+
<text class="terminal" x="161" y="103">,</text>
20+
<rect x="271" y="161" width="58" height="32" rx="10"></rect>
21+
<rect x="269" y="159" width="58" height="32" class="terminal" rx="10"></rect>
22+
<text class="terminal" x="279" y="179">WITH</text>
23+
<rect x="369" y="161" width="90" height="32"></rect>
24+
<rect x="367" y="159" width="90" height="32" class="nonterminal"></rect>
25+
<text class="nonterminal" x="377" y="179">initial_scan</text>
26+
<rect x="369" y="205" width="114" height="32"></rect>
27+
<rect x="367" y="203" width="114" height="32" class="nonterminal"></rect>
28+
<text class="nonterminal" x="377" y="223">no_initial_scan</text><rect x="65" y="293" width="58" height="32" rx="10"></rect>
29+
<rect x="63" y="291" width="58" height="32" class="terminal" rx="10"></rect>
30+
<text class="terminal" x="73" y="311">DROP</text>
31+
<rect x="163" y="293" width="58" height="32"></rect>
32+
<rect x="161" y="291" width="58" height="32" class="nonterminal"></rect>
33+
<text class="nonterminal" x="171" y="311">target</text><rect x="163" y="249" width="24" height="32" rx="10"></rect>
34+
<rect x="161" y="247" width="24" height="32" class="terminal" rx="10"></rect>
35+
<text class="terminal" x="171" y="267">,</text>
36+
<rect x="85" y="381" width="44" height="32" rx="10"></rect>
37+
<rect x="83" y="379" width="44" height="32" class="terminal" rx="10"></rect>
38+
<text class="terminal" x="93" y="399">SET</text>
39+
<rect x="85" y="425" width="64" height="32" rx="10"></rect>
40+
<rect x="83" y="423" width="64" height="32" class="terminal" rx="10"></rect>
41+
<text class="terminal" x="93" y="443">UNSET</text>
42+
<rect x="209" y="381" width="60" height="32"></rect>
43+
<rect x="207" y="379" width="60" height="32" class="nonterminal"></rect>
44+
<text class="nonterminal" x="217" y="399">option</text><rect x="209" y="337" width="24" height="32" rx="10"></rect>
45+
<rect x="207" y="335" width="24" height="32" class="terminal" rx="10"></rect>
46+
<text class="terminal" x="217" y="355">,</text>
47+
<path class="line" d="m19 17 h2 m0 0 h10 m62 0 h10 m0 0 h10 m110 0 h10 m0 0 h10 m58 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-322 126 l2 0 m2 0 l2 0 m2 0 l2 0 m42 0 h10 m48 0 h10 m20 0 h10 m58 0 h10 m-98 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m78 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-78 0 h10 m24 0 h10 m0 0 h34 m40 44 h10 m0 0 h242 m-272 0 h20 m252 0 h20 m-292 0 q10 0 10 10 m272 0 q0 -10 10 -10 m-282 10 v12 m272 0 v-12 m-272 12 q0 10 10 10 m252 0 q10 0 10 -10 m-262 10 h10 m58 0 h10 m20 0 h10 m90 0 h10 m0 0 h24 m-154 0 h20 m134 0 h20 m-174 0 q10 0 10 10 m154 0 q0 -10 10 -10 m-164 10 v24 m154 0 v-24 m-154 24 q0 10 10 10 m134 0 q10 0 10 -10 m-144 10 h10 m114 0 h10 m-458 -76 h20 m478 0 h20 m-518 0 q10 0 10 10 m498 0 q0 -10 10 -10 m-508 10 v144 m498 0 v-144 m-498 144 q0 10 10 10 m478 0 q10 0 10 -10 m-488 10 h10 m58 0 h10 m20 0 h10 m58 0 h10 m-98 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m78 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-78 0 h10 m24 0 h10 m0 0 h34 m20 44 h282 m-488 -10 v20 m498 0 v-20 m-498 20 v68 m498 0 v-68 m-498 68 q0 10 10 10 m478 0 q10 0 10 -10 m-468 10 h10 m44 0 h10 m0 0 h20 m-104 0 h20 m84 0 h20 m-124 0 q10 0 10 10 m104 0 q0 -10 10 -10 m-114 10 v24 m104 0 v-24 m-104 24 q0 10 10 10 m84 0 q10 0 10 -10 m-94 10 h10 m64 0 h10 m40 -44 h10 m60 0 h10 m-100 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m80 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-80 0 h10 m24 0 h10 m0 0 h36 m20 44 h234 m-518 -252 l20 0 m-1 0 q-9 0 -9 -10 l0 -56 q0 -10 10 -10 m518 76 l20 0 m-20 0 q10 0 10 -10 l0 -56 q0 -10 -10 -10 m-518 0 h10 m0 0 h508 m23 76 h-3"></path>
48+
<polygon points="581 143 589 139 589 147"></polygon>
49+
<polygon points="581 143 573 139 573 147"></polygon></svg></div>

0 commit comments

Comments
 (0)