create-source-postgres.svg 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <svg xmlns="http://www.w3.org/2000/svg" width="707" height="949">
  2. <polygon points="9 17 1 13 1 21"/>
  3. <polygon points="17 17 9 13 9 21"/>
  4. <rect x="31" y="3" width="140" height="32" rx="10"/>
  5. <rect x="29"
  6. y="1"
  7. width="140"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="39" y="21">CREATE SOURCE</text>
  12. <rect x="211" y="35" width="120" height="32" rx="10"/>
  13. <rect x="209"
  14. y="33"
  15. width="120"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="219" y="53">IF NOT EXISTS</text>
  20. <rect x="371" y="3" width="82" height="32"/>
  21. <rect x="369" y="1" width="82" height="32" class="nonterminal"/>
  22. <text class="nonterminal" x="379" y="21">src_name</text>
  23. <rect x="141" y="133" width="104" height="32" rx="10"/>
  24. <rect x="139"
  25. y="131"
  26. width="104"
  27. height="32"
  28. class="terminal"
  29. rx="10"/>
  30. <text class="terminal" x="149" y="151">IN CLUSTER</text>
  31. <rect x="265" y="133" width="108" height="32"/>
  32. <rect x="263" y="131" width="108" height="32" class="nonterminal"/>
  33. <text class="nonterminal" x="273" y="151">cluster_name</text>
  34. <rect x="413" y="101" width="60" height="32" rx="10"/>
  35. <rect x="411"
  36. y="99"
  37. width="60"
  38. height="32"
  39. class="terminal"
  40. rx="10"/>
  41. <text class="terminal" x="421" y="119">FROM</text>
  42. <rect x="493" y="101" width="96" height="32" rx="10"/>
  43. <rect x="491"
  44. y="99"
  45. width="96"
  46. height="32"
  47. class="terminal"
  48. rx="10"/>
  49. <text class="terminal" x="501" y="119">POSTGRES</text>
  50. <rect x="128" y="199" width="116" height="32" rx="10"/>
  51. <rect x="126"
  52. y="197"
  53. width="116"
  54. height="32"
  55. class="terminal"
  56. rx="10"/>
  57. <text class="terminal" x="136" y="217">CONNECTION</text>
  58. <rect x="264" y="199" width="136" height="32"/>
  59. <rect x="262" y="197" width="136" height="32" class="nonterminal"/>
  60. <text class="nonterminal" x="272" y="217">connection_name</text>
  61. <rect x="420" y="199" width="26" height="32" rx="10"/>
  62. <rect x="418"
  63. y="197"
  64. width="26"
  65. height="32"
  66. class="terminal"
  67. rx="10"/>
  68. <text class="terminal" x="428" y="217">(</text>
  69. <rect x="466" y="199" width="116" height="32" rx="10"/>
  70. <rect x="464"
  71. y="197"
  72. width="116"
  73. height="32"
  74. class="terminal"
  75. rx="10"/>
  76. <text class="terminal" x="474" y="217">PUBLICATION</text>
  77. <rect x="288" y="265" width="134" height="32"/>
  78. <rect x="286" y="263" width="134" height="32" class="nonterminal"/>
  79. <text class="nonterminal" x="296" y="283">publication_name</text>
  80. <rect x="115" y="375" width="24" height="32" rx="10"/>
  81. <rect x="113"
  82. y="373"
  83. width="24"
  84. height="32"
  85. class="terminal"
  86. rx="10"/>
  87. <text class="terminal" x="123" y="393">,</text>
  88. <rect x="159" y="375" width="134" height="32" rx="10"/>
  89. <rect x="157"
  90. y="373"
  91. width="134"
  92. height="32"
  93. class="terminal"
  94. rx="10"/>
  95. <text class="terminal" x="167" y="393">TEXT COLUMNS</text>
  96. <rect x="333" y="375" width="26" height="32" rx="10"/>
  97. <rect x="331"
  98. y="373"
  99. width="26"
  100. height="32"
  101. class="terminal"
  102. rx="10"/>
  103. <text class="terminal" x="341" y="393">(</text>
  104. <rect x="399" y="375" width="110" height="32"/>
  105. <rect x="397" y="373" width="110" height="32" class="nonterminal"/>
  106. <text class="nonterminal" x="407" y="393">column_name</text>
  107. <rect x="399" y="331" width="24" height="32" rx="10"/>
  108. <rect x="397"
  109. y="329"
  110. width="24"
  111. height="32"
  112. class="terminal"
  113. rx="10"/>
  114. <text class="terminal" x="407" y="349">,</text>
  115. <rect x="549" y="375" width="26" height="32" rx="10"/>
  116. <rect x="547"
  117. y="373"
  118. width="26"
  119. height="32"
  120. class="terminal"
  121. rx="10"/>
  122. <text class="terminal" x="557" y="393">)</text>
  123. <rect x="342" y="473" width="26" height="32" rx="10"/>
  124. <rect x="340"
  125. y="471"
  126. width="26"
  127. height="32"
  128. class="terminal"
  129. rx="10"/>
  130. <text class="terminal" x="350" y="491">)</text>
  131. <rect x="45" y="539" width="138" height="32" rx="10"/>
  132. <rect x="43"
  133. y="537"
  134. width="138"
  135. height="32"
  136. class="terminal"
  137. rx="10"/>
  138. <text class="terminal" x="53" y="557">FOR ALL TABLES</text>
  139. <rect x="65" y="627" width="106" height="32" rx="10"/>
  140. <rect x="63"
  141. y="625"
  142. width="106"
  143. height="32"
  144. class="terminal"
  145. rx="10"/>
  146. <text class="terminal" x="73" y="645">FOR TABLES</text>
  147. <rect x="191" y="627" width="26" height="32" rx="10"/>
  148. <rect x="189"
  149. y="625"
  150. width="26"
  151. height="32"
  152. class="terminal"
  153. rx="10"/>
  154. <text class="terminal" x="199" y="645">(</text>
  155. <rect x="257" y="627" width="96" height="32"/>
  156. <rect x="255" y="625" width="96" height="32" class="nonterminal"/>
  157. <text class="nonterminal" x="265" y="645">table_name</text>
  158. <rect x="393" y="659" width="40" height="32" rx="10"/>
  159. <rect x="391"
  160. y="657"
  161. width="40"
  162. height="32"
  163. class="terminal"
  164. rx="10"/>
  165. <text class="terminal" x="401" y="677">AS</text>
  166. <rect x="453" y="659" width="106" height="32"/>
  167. <rect x="451" y="657" width="106" height="32" class="nonterminal"/>
  168. <text class="nonterminal" x="461" y="677">subsrc_name</text>
  169. <rect x="257" y="583" width="24" height="32" rx="10"/>
  170. <rect x="255"
  171. y="581"
  172. width="24"
  173. height="32"
  174. class="terminal"
  175. rx="10"/>
  176. <text class="terminal" x="265" y="601">,</text>
  177. <rect x="65" y="747" width="124" height="32" rx="10"/>
  178. <rect x="63"
  179. y="745"
  180. width="124"
  181. height="32"
  182. class="terminal"
  183. rx="10"/>
  184. <text class="terminal" x="73" y="765">FOR SCHEMAS</text>
  185. <rect x="209" y="747" width="26" height="32" rx="10"/>
  186. <rect x="207"
  187. y="745"
  188. width="26"
  189. height="32"
  190. class="terminal"
  191. rx="10"/>
  192. <text class="terminal" x="217" y="765">(</text>
  193. <rect x="275" y="747" width="114" height="32"/>
  194. <rect x="273" y="745" width="114" height="32" class="nonterminal"/>
  195. <text class="nonterminal" x="283" y="765">schema_name</text>
  196. <rect x="275" y="703" width="24" height="32" rx="10"/>
  197. <rect x="273"
  198. y="701"
  199. width="24"
  200. height="32"
  201. class="terminal"
  202. rx="10"/>
  203. <text class="terminal" x="283" y="721">,</text>
  204. <rect x="639" y="627" width="26" height="32" rx="10"/>
  205. <rect x="637"
  206. y="625"
  207. width="26"
  208. height="32"
  209. class="terminal"
  210. rx="10"/>
  211. <text class="terminal" x="647" y="645">)</text>
  212. <rect x="121" y="829" width="76" height="32" rx="10"/>
  213. <rect x="119"
  214. y="827"
  215. width="76"
  216. height="32"
  217. class="terminal"
  218. rx="10"/>
  219. <text class="terminal" x="129" y="847">EXPOSE</text>
  220. <rect x="217" y="829" width="96" height="32" rx="10"/>
  221. <rect x="215"
  222. y="827"
  223. width="96"
  224. height="32"
  225. class="terminal"
  226. rx="10"/>
  227. <text class="terminal" x="225" y="847">PROGRESS</text>
  228. <rect x="333" y="829" width="40" height="32" rx="10"/>
  229. <rect x="331"
  230. y="827"
  231. width="40"
  232. height="32"
  233. class="terminal"
  234. rx="10"/>
  235. <text class="terminal" x="341" y="847">AS</text>
  236. <rect x="393" y="829" width="196" height="32"/>
  237. <rect x="391" y="827" width="196" height="32" class="nonterminal"/>
  238. <text class="nonterminal" x="401" y="847">progress_subsource_name</text>
  239. <rect x="557" y="915" width="102" height="32"/>
  240. <rect x="555" y="913" width="102" height="32" class="nonterminal"/>
  241. <text class="nonterminal" x="565" y="933">with_options</text>
  242. <path class="line"
  243. d="m17 17 h2 m0 0 h10 m140 0 h10 m20 0 h10 m0 0 h130 m-160 0 h20 m140 0 h20 m-180 0 q10 0 10 10 m160 0 q0 -10 10 -10 m-170 10 v12 m160 0 v-12 m-160 12 q0 10 10 10 m140 0 q10 0 10 -10 m-150 10 h10 m120 0 h10 m20 -32 h10 m82 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-376 98 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 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 m104 0 h10 m0 0 h10 m108 0 h10 m20 -32 h10 m60 0 h10 m0 0 h10 m96 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-505 98 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m116 0 h10 m0 0 h10 m136 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m116 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-338 66 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m134 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-371 110 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m24 0 h10 m0 0 h10 m134 0 h10 m20 0 h10 m26 0 h10 m20 0 h10 m110 0 h10 m-150 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m130 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-130 0 h10 m24 0 h10 m0 0 h86 m20 44 h10 m26 0 h10 m-282 0 h20 m262 0 h20 m-302 0 q10 0 10 10 m282 0 q0 -10 10 -10 m-292 10 v14 m282 0 v-14 m-282 14 q0 10 10 10 m262 0 q10 0 10 -10 m-272 10 h10 m0 0 h252 m-500 -34 h20 m500 0 h20 m-540 0 q10 0 10 10 m520 0 q0 -10 10 -10 m-530 10 v30 m520 0 v-30 m-520 30 q0 10 10 10 m500 0 q10 0 10 -10 m-510 10 h10 m0 0 h490 m22 -50 l2 0 m2 0 l2 0 m2 0 l2 0 m-317 98 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m26 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-387 66 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m138 0 h10 m0 0 h482 m-660 0 h20 m640 0 h20 m-680 0 q10 0 10 10 m660 0 q0 -10 10 -10 m-670 10 v68 m660 0 v-68 m-660 68 q0 10 10 10 m640 0 q10 0 10 -10 m-630 10 h10 m106 0 h10 m0 0 h10 m26 0 h10 m20 0 h10 m96 0 h10 m20 0 h10 m0 0 h176 m-206 0 h20 m186 0 h20 m-226 0 q10 0 10 10 m206 0 q0 -10 10 -10 m-216 10 v12 m206 0 v-12 m-206 12 q0 10 10 10 m186 0 q10 0 10 -10 m-196 10 h10 m40 0 h10 m0 0 h10 m106 0 h10 m-342 -32 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m342 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-342 0 h10 m24 0 h10 m0 0 h298 m-554 44 h20 m554 0 h20 m-594 0 q10 0 10 10 m574 0 q0 -10 10 -10 m-584 10 v100 m574 0 v-100 m-574 100 q0 10 10 10 m554 0 q10 0 10 -10 m-564 10 h10 m124 0 h10 m0 0 h10 m26 0 h10 m20 0 h10 m114 0 h10 m-154 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m134 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-134 0 h10 m24 0 h10 m0 0 h90 m20 44 h190 m20 -120 h10 m26 0 h10 m22 -88 l2 0 m2 0 l2 0 m2 0 l2 0 m-628 258 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h478 m-508 0 h20 m488 0 h20 m-528 0 q10 0 10 10 m508 0 q0 -10 10 -10 m-518 10 v12 m508 0 v-12 m-508 12 q0 10 10 10 m488 0 q10 0 10 -10 m-498 10 h10 m76 0 h10 m0 0 h10 m96 0 h10 m0 0 h10 m40 0 h10 m0 0 h10 m196 0 h10 m22 -32 l2 0 m2 0 l2 0 m2 0 l2 0 m-116 86 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h112 m-142 0 h20 m122 0 h20 m-162 0 q10 0 10 10 m142 0 q0 -10 10 -10 m-152 10 v12 m142 0 v-12 m-142 12 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m102 0 h10 m23 -32 h-3"/>
  244. <polygon points="697 897 705 893 705 901"/>
  245. <polygon points="697 897 689 893 689 901"/>
  246. </svg>