alter-default-privileges.svg 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <svg xmlns="http://www.w3.org/2000/svg" width="463" height="559">
  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="66" height="32" rx="10"/>
  5. <rect x="29"
  6. y="1"
  7. width="66"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="39" y="21">ALTER</text>
  12. <rect x="117" y="3" width="84" height="32" rx="10"/>
  13. <rect x="115"
  14. y="1"
  15. width="84"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="125" y="21">DEFAULT</text>
  20. <rect x="221" y="3" width="102" height="32" rx="10"/>
  21. <rect x="219"
  22. y="1"
  23. width="102"
  24. height="32"
  25. class="terminal"
  26. rx="10"/>
  27. <text class="terminal" x="229" y="21">PRIVILEGES</text>
  28. <rect x="343" y="3" width="48" height="32" rx="10"/>
  29. <rect x="341"
  30. y="1"
  31. width="48"
  32. height="32"
  33. class="terminal"
  34. rx="10"/>
  35. <text class="terminal" x="351" y="21">FOR</text>
  36. <rect x="130" y="113" width="56" height="32" rx="10"/>
  37. <rect x="128"
  38. y="111"
  39. width="56"
  40. height="32"
  41. class="terminal"
  42. rx="10"/>
  43. <text class="terminal" x="138" y="131">ROLE</text>
  44. <rect x="130" y="157" width="56" height="32" rx="10"/>
  45. <rect x="128"
  46. y="155"
  47. width="56"
  48. height="32"
  49. class="terminal"
  50. rx="10"/>
  51. <text class="terminal" x="138" y="175">USER</text>
  52. <rect x="246" y="113" width="90" height="32"/>
  53. <rect x="244" y="111" width="90" height="32" class="nonterminal"/>
  54. <text class="nonterminal" x="254" y="131">target_role</text>
  55. <rect x="246" y="69" width="24" height="32" rx="10"/>
  56. <rect x="244"
  57. y="67"
  58. width="24"
  59. height="32"
  60. class="terminal"
  61. rx="10"/>
  62. <text class="terminal" x="254" y="87">,</text>
  63. <rect x="110" y="201" width="46" height="32" rx="10"/>
  64. <rect x="108"
  65. y="199"
  66. width="46"
  67. height="32"
  68. class="terminal"
  69. rx="10"/>
  70. <text class="terminal" x="118" y="219">ALL</text>
  71. <rect x="176" y="201" width="66" height="32" rx="10"/>
  72. <rect x="174"
  73. y="199"
  74. width="66"
  75. height="32"
  76. class="terminal"
  77. rx="10"/>
  78. <text class="terminal" x="184" y="219">ROLES</text>
  79. <rect x="45" y="311" width="34" height="32" rx="10"/>
  80. <rect x="43"
  81. y="309"
  82. width="34"
  83. height="32"
  84. class="terminal"
  85. rx="10"/>
  86. <text class="terminal" x="53" y="329">IN</text>
  87. <rect x="119" y="311" width="82" height="32" rx="10"/>
  88. <rect x="117"
  89. y="309"
  90. width="82"
  91. height="32"
  92. class="terminal"
  93. rx="10"/>
  94. <text class="terminal" x="127" y="329">SCHEMA</text>
  95. <rect x="241" y="311" width="114" height="32"/>
  96. <rect x="239" y="309" width="114" height="32" class="nonterminal"/>
  97. <text class="nonterminal" x="249" y="329">schema_name</text>
  98. <rect x="241" y="267" width="24" height="32" rx="10"/>
  99. <rect x="239"
  100. y="265"
  101. width="24"
  102. height="32"
  103. class="terminal"
  104. rx="10"/>
  105. <text class="terminal" x="249" y="285">,</text>
  106. <rect x="119" y="399" width="98" height="32" rx="10"/>
  107. <rect x="117"
  108. y="397"
  109. width="98"
  110. height="32"
  111. class="terminal"
  112. rx="10"/>
  113. <text class="terminal" x="127" y="417">DATABASE</text>
  114. <rect x="257" y="399" width="124" height="32"/>
  115. <rect x="255" y="397" width="124" height="32" class="nonterminal"/>
  116. <text class="nonterminal" x="265" y="417">database_name</text>
  117. <rect x="257" y="355" width="24" height="32" rx="10"/>
  118. <rect x="255"
  119. y="353"
  120. width="24"
  121. height="32"
  122. class="terminal"
  123. rx="10"/>
  124. <text class="terminal" x="265" y="373">,</text>
  125. <rect x="265" y="481" width="140" height="32"/>
  126. <rect x="263" y="479" width="140" height="32" class="nonterminal"/>
  127. <text class="nonterminal" x="273" y="499">abbreviated_grant</text>
  128. <rect x="265" y="525" width="150" height="32"/>
  129. <rect x="263" y="523" width="150" height="32" class="nonterminal"/>
  130. <text class="nonterminal" x="273" y="543">abbreviated_revoke</text>
  131. <path class="line"
  132. d="m17 17 h2 m0 0 h10 m66 0 h10 m0 0 h10 m84 0 h10 m0 0 h10 m102 0 h10 m0 0 h10 m48 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-345 110 l2 0 m2 0 l2 0 m2 0 l2 0 m42 0 h10 m56 0 h10 m-96 0 h20 m76 0 h20 m-116 0 q10 0 10 10 m96 0 q0 -10 10 -10 m-106 10 v24 m96 0 v-24 m-96 24 q0 10 10 10 m76 0 q10 0 10 -10 m-86 10 h10 m56 0 h10 m40 -44 h10 m90 0 h10 m-130 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m110 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-110 0 h10 m24 0 h10 m0 0 h66 m-266 44 h20 m266 0 h20 m-306 0 q10 0 10 10 m286 0 q0 -10 10 -10 m-296 10 v68 m286 0 v-68 m-286 68 q0 10 10 10 m266 0 q10 0 10 -10 m-276 10 h10 m46 0 h10 m0 0 h10 m66 0 h10 m0 0 h114 m22 -88 l2 0 m2 0 l2 0 m2 0 l2 0 m-395 198 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m34 0 h10 m20 0 h10 m82 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 h26 m-322 0 h20 m302 0 h20 m-342 0 q10 0 10 10 m322 0 q0 -10 10 -10 m-332 10 v68 m322 0 v-68 m-322 68 q0 10 10 10 m302 0 q10 0 10 -10 m-312 10 h10 m98 0 h10 m20 0 h10 m124 0 h10 m-164 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m144 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-144 0 h10 m24 0 h10 m0 0 h100 m-376 -44 h20 m396 0 h20 m-436 0 q10 0 10 10 m416 0 q0 -10 10 -10 m-426 10 v102 m416 0 v-102 m-416 102 q0 10 10 10 m396 0 q10 0 10 -10 m-406 10 h10 m0 0 h386 m22 -122 l2 0 m2 0 l2 0 m2 0 l2 0 m-240 170 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m140 0 h10 m0 0 h10 m-190 0 h20 m170 0 h20 m-210 0 q10 0 10 10 m190 0 q0 -10 10 -10 m-200 10 v24 m190 0 v-24 m-190 24 q0 10 10 10 m170 0 q10 0 10 -10 m-180 10 h10 m150 0 h10 m23 -44 h-3"/>
  133. <polygon points="453 495 461 491 461 499"/>
  134. <polygon points="453 495 445 491 445 499"/>
  135. </svg>