Project: YugabyteDB (App Definition and Development / Database)
File: create_procedure,arg_decl_with_dflt,arg_decl,subprogram_signature,unalterable_proc_attribute,lang_name,implementation_definition,sql_stmt_list,alterable_fn_and_proc_attribute.diagram.md

<svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="806" height="160" viewbox="0 0 806 160"><path class="connector" d="M0 52h15m67 0h30m37 0h10m74 0h20m-156 0q5 0 5 5v8q0 5 5 5h131q5 0 5-5v-8q0-5 5-5m5 0h10m94 0h10m133 0h10m25 0h50m-5 0q-5 0-5-5v-20q0-5 5-5h58m24 0h59q5 0 5 5v20q0 5-5 5m-5 0h40m-206 0q5 0 5 5v8q0 5 5 5h181q5 0 5-5v-8q0-5 5-5m5 0h10m25 0h7m2 0h2m2 0h2m-806 65h2m2 0h2m2 0h27m-5 0q-5 0-5-5v-17q0-5 5-5h264q5 0 5 5v17q0 5-5 5m-259 0h20m180 0h54m-249 0q5 0 5 5v20q0 5 5 5h5m214 0h5q5 0 5-5v-20q0-5 5-5m5 0h35"/><polygon points="0,59 5,52 0,45" style="fill:black;stroke-width:0"/><rect class="literal" x="15" y="35" width="67" height="25" rx="7"/><text class="text" x="25" y="52">CREATE</text><rect class="literal" x="112" y="35" width="37" height="25" rx="7"/><text class="text" x="122" y="52">OR</text><rect class="literal" x="159" y="35" width="74" height="25" rx="7"/><text class="text" x="169" y="52">REPLACE</text><rect class="literal" x="263" y="35" width="94" height="25" rx="7"/><text class="text" x="273" y="52">PROCEDURE</text><a xlink:href="../../../syntaxresources/grammardiagrams#subprogram-name"><rect class="rule" x="367" y="35" width="133" height="25"/><text class="text" x="377" y="52">subprogramname</text></a><rect class="literal" x="510" y="35" width="25" height="25" rx="7"/><text class="text" x="520" y="52">(</text><rect class="literal" x="638" y="5" width="24" height="25" rx="7"/><text class="text" x="648" y="22">,</text><a xlink:href="#arg-decl-with-dflt"><rect class="rule" x="585" y="35" width="131" height="25"/><text class="text" x="595" y="52">argdeclwithdflt</text></a><rect class="literal" x="766" y="35" width="25" height="25" rx="7"/><text class="text" x="776" y="52">)</text><a xlink:href="#unalterable-proc-attribute"><rect class="rule" x="55" y="100" width="180" height="25"/><text class="text" x="65" y="117">unalterableprocattribute</text></a><a xlink:href="#alterable-fn-and-proc-attribute"><rect class="rule" x="55" y="130" width="214" height="25"/><text class="text" x="65" y="147">alterablefnandprocattribute</text></a><polygon points="320,124 324,124 324,110 320,110" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="358" height="80" viewbox="0 0 358 80"><path class="connector" d="M0 22h15m70 0h50m75 0h20m-110 0q5 0 5 5v20q0 5 5 5h5m30 0h50q5 0 5-5v-20q0-5 5-5m5 0h10m83 0h20m-243 0q5 0 5 5v38q0 5 5 5h218q5 0 5-5v-38q0-5 5-5m5 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><a xlink:href="#arg-decl"><rect class="rule" x="15" y="5" width="70" height="25"/><text class="text" x="25" y="22">argdecl</text></a><rect class="literal" x="135" y="5" width="75" height="25" rx="7"/><text class="text" x="145" y="22">DEFAULT</text><rect class="literal" x="135" y="35" width="30" height="25" rx="7"/><text class="text" x="145" y="52">=</text><a xlink:href="../../../syntaxresources/grammar_diagrams#expression"><rect class="rule" x="240" y="5" width="83" height="25"/><text class="text" x="250" y="22">expression</text></a><polygon points="354,29 358,29 358,15 354,15" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="364" height="50" viewbox="0 0 364 50"><path class="connector" d="M0 22h35m81 0h20m-116 0q5 0 5 5v8q0 5 5 5h91q5 0 5-5v-8q0-5 5-5m5 0h30m80 0h20m-115 0q5 0 5 5v8q0 5 5 5h90q5 0 5-5v-8q0-5 5-5m5 0h10m73 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><a xlink:href="../../../syntaxresources/grammardiagrams#arg-name"><rect class="rule" x="35" y="5" width="81" height="25"/><text class="text" x="45" y="22">argname</text></a><a xlink:href="../../../syntaxresources/grammardiagrams#arg-mode"><rect class="rule" x="166" y="5" width="80" height="25"/><text class="text" x="176" y="22">argmode</text></a><a xlink:href="../../../syntaxresources/grammardiagrams#arg-type"><rect class="rule" x="276" y="5" width="73" height="25"/><text class="text" x="286" y="22">arg_type</text></a><polygon points="360,29 364,29 364,15 360,15" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="140" height="65" viewbox="0 0 140 65"><path class="connector" d="M0 52h35m-5 0q-5 0-5-5v-20q0-5 5-5h28m24 0h28q5 0 5 5v20q0 5-5 5m-5 0h35"/><polygon points="0,59 5,52 0,45" style="fill:black;stroke-width:0"/><rect class="literal" x="58" y="5" width="24" height="25" rx="7"/><text class="text" x="68" y="22">,</text><a xlink:href="#arg-decl"><rect class="rule" x="35" y="35" width="70" height="25"/><text class="text" x="45" y="52">arg_decl</text></a><polygon points="136,59 140,59 140,45 136,45" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="293" height="70" viewbox="0 0 293 70"><path class="connector" d="M0 5h278m-253 17q0 5 5 5h5m87 0h10m87 0h44q5 0 5-5m-248-17q5 0 5 5v42q0 5 5 5h5m36 0h10m177 0h5q5 0 5-5v-42q0-5 5-5m5 0h15"/><polygon points="0,12 5,5 0,-2" style="fill:black;stroke-width:0"/><rect class="literal" x="35" y="10" width="87" height="25" rx="7"/><text class="text" x="45" y="27">LANGUAGE</text><a xlink:href="#lang-name"><rect class="rule" x="132" y="10" width="87" height="25"/><text class="text" x="142" y="27">langname</text></a><rect class="literal" x="35" y="40" width="36" height="25" rx="7"/><text class="text" x="45" y="57">AS</text><a xlink:href="#implementation-definition"><rect class="rule" x="81" y="40" width="177" height="25"/><text class="text" x="91" y="57">implementationdefinition</text></a><polygon points="289,12 293,12 293,-2 289,-2" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink"

width="144" height="95" viewbox="0 0 144 95"><path class="connector" d="M0 22h35m44 0h50m-104 25q0 5 5 5h5m74 0h5q5 0 5-5m-99-25q5 0 5 5v50q0 5 5 5h5m28 0h51q5 0 5-5v-50q0-5 5-5m5 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><rect class="literal" x="35" y="5" width="44" height="25" rx="7"/><text class="text" x="45" y="22">SQL</text><rect class="literal" x="35" y="35" width="74" height="25" rx="7"/><text class="text" x="45" y="52">PLPGSQL</text><rect class="literal" x="35" y="65" width="28" height="25" rx="7"/><text class="text" x="45" y="82">C</text><polygon points="140,29 144,29 144,15 140,15" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="440" height="110" viewbox="0 0 440 110"><path class="connector" d="M0 22h35m23 0h10m97 0h10m23 0h227m-400 25q0 5 5 5h5m23 0h10m134 0h10m23 0h175q5 0 5-5m-395-25q5 0 5 5v50q0 5 5 5h5m23 0h10m63 0h10m23 0h30m24 0h10m23 0h10m91 0h10m23 0h20m-226 0q5 0 5 5v8q0 5 5 5h201q5 0 5-5v-8q0-5 5-5m5 0h5q5 0 5-5v-50q0-5 5-5m5 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><rect class="literal" x="35" y="5" width="23" height="25" rx="7"/><text class="text" x="45" y="22">&apos;</text><a xlink:href="#sql-stmt-list"><rect class="rule" x="68" y="5" width="97" height="25"/><text class="text" x="78" y="22">sqlstmtlist</text></a><rect class="literal" x="175" y="5" width="23" height="25" rx="7"/><text class="text" x="185" y="22">&apos;</text><rect class="literal" x="35" y="35" width="23" height="25" rx="7"/><text class="text" x="45" y="52">&apos;</text><a xlink:href="../../../syntaxresources/grammardiagrams#plpgsql-block-stmt"><rect class="rule" x="68" y="35" width="134" height="25"/><text class="text" x="78" y="52">plpgsqlblockstmt</text></a><rect class="literal" x="212" y="35" width="23" height="25" rx="7"/><text class="text" x="222" y="52">&apos;</text><rect class="literal" x="35" y="65" width="23" height="25" rx="7"/><text class="text" x="45" y="82">&apos;</text><a xlink:href="../../../syntaxresources/grammardiagrams#obj-file"><rect class="rule" x="68" y="65" width="63" height="25"/><text class="text" x="78" y="82">objfile</text></a><rect class="literal" x="141" y="65" width="23" height="25" rx="7"/><text class="text" x="151" y="82">&apos;</text><rect class="literal" x="194" y="65" width="24" height="25" rx="7"/><text class="text" x="204" y="82">,</text><rect class="literal" x="228" y="65" width="23" height="25" rx="7"/><text class="text" x="238" y="82">&apos;</text><a xlink:href="../../../syntaxresources/grammardiagrams#link-symbol"><rect class="rule" x="261" y="65" width="91" height="25"/><text class="text" x="271" y="82">linksymbol</text></a><rect class="literal" x="362" y="65" width="23" height="25" rx="7"/><text class="text" x="372" y="82">&apos;</text><polygon points="436,29 440,29 440,15 436,15" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="334" height="65" viewbox="0 0 334 65"><path class="connector" d="M0 37h15m72 0h10m25 0h50m-5 0q-5 0-5-5v-17q0-5 5-5h117q5 0 5 5v17q0 5-5 5m-40 0h10m25 0h40m-182 0q5 0 5 5v8q0 5 5 5h157q5 0 5-5v-8q0-5 5-5m5 0h15"/><polygon points="0,44 5,37 0,30" style="fill:black;stroke-width:0"/><a xlink:href="../../../syntaxresources/grammardiagrams#sql-stmt"><rect class="rule" x="15" y="20" width="72" height="25"/><text class="text" x="25" y="37">sqlstmt</text></a><rect class="literal" x="97" y="20" width="25" height="25" rx="7"/><text class="text" x="107" y="37">;</text><a xlink:href="../../../syntaxresources/grammardiagrams#sql-stmt"><rect class="rule" x="172" y="20" width="72" height="25"/><text class="text" x="182" y="37">sqlstmt</text></a><rect class="literal" x="254" y="20" width="25" height="25" rx="7"/><text class="text" x="264" y="37">;</text><polygon points="330,44 334,44 334,30 330,30" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="482" height="215" viewbox="0 0 482 215"><path class="connector" d="M0 22h35m43 0h10m168 0h30m36 0h10m52 0h63m-171 25q0 5 5 5h5m30 0h10m52 0h54q5 0 5-5m-166-25q5 0 5 5v50q0 5 5 5h5m54 0h10m77 0h5q5 0 5-5v-50q0-5 5-5m5 0h20m-442 85q0 5 5 5h5m59 0h10m168 0h180q5 0 5-5m-432 30q0 5 5 5h5m59 0h10m42 0h306q5 0 5-5m-437-115q5 0 5 5v140q0 5 5 5h25m83 0h20m-118 0q5 0 5 5v8q0 5 5 5h93q5 0 5-5v-8q0-5 5-5m5 0h10m80 0h30m75 0h20m-110 0q5 0 5 5v20q0 5 5 5h5m74 0h6q5 0 5-5v-20q0-5 5-5m5 0h79q5 0 5-5v-140q0-5 5-5m5 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><rect class="literal" x="35" y="5" width="43" height="25" rx="7"/><text class="text" x="45" y="22">SET</text><a xlink:href="../../../syntaxresources/grammardiagrams#configuration-parameter"><rect class="rule" x="88" y="5" width="168" height="25"/><text class="text" x="98" y="22">configurationparameter</text></a><rect class="literal" x="286" y="5" width="36" height="25" rx="7"/><text class="text" x="296" y="22">TO</text><a xlink:href="../../../syntaxresources/grammardiagrams#value"><rect class="rule" x="332" y="5" width="52" height="25"/><text class="text" x="342" y="22">value</text></a><rect class="literal" x="286" y="35" width="30" height="25" rx="7"/><text class="text" x="296" y="52">=</text><a xlink:href="../../../syntaxresources/grammardiagrams#value"><rect class="rule" x="326" y="35" width="52" height="25"/><text class="text" x="336" y="52">value</text></a><rect class="literal" x="286" y="65" width="54" height="25" rx="7"/><text class="text" x="296" y="82">FROM</text><rect class="literal" x="350" y="65" width="77" height="25" rx="7"/><text class="text" x="360" y="82">CURRENT</text><rect class="literal" x="35" y="95" width="59" height="25" rx="7"/><text class="text" x="45" y="112">RESET</text><a xlink:href="../../../syntaxresources/grammardiagrams#configuration-parameter"><rect class="rule" x="104" y="95" width="168" height="25"/><text class="text" x="114" y="112">configurationparameter</text></a><rect class="literal" x="35" y="125" width="59" height="25" rx="7"/><text class="text" x="45" y="142">RESET</text><rect class="literal" x="104" y="125" width="42" height="25" rx="7"/><text class="text" x="114" y="142">ALL</text><rect class="literal" x="55" y="155" width="83" height="25" rx="7"/><text class="text" x="65" y="172">EXTERNAL</text><rect class="literal" x="168" y="155" width="80" height="25" rx="7"/><text class="text" x="178" y="172">SECURITY</text><rect class="literal" x="278" y="155" width="75" height="25" rx="7"/><text class="text" x="288" y="172">INVOKER</text><rect class="literal" x="278" y="185" width="74" height="25" rx="7"/><text class="text" x="288" y="202">DEFINER</text><polygon points="478,29 482,29 482,15 478,15" style="fill:black;stroke-width:0"/></svg>