forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
107 lines
10 KiB
HTML
107 lines
10 KiB
HTML
<a name="EN-US_TOPIC_0000001188163680"></a><a name="EN-US_TOPIC_0000001188163680"></a>
|
|
|
|
<h1 class="topictitle1">PG_LANGUAGE</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001188163680__a71cb6fdeea474f92ab4987b7867e89c2"><strong id="EN-US_TOPIC_0000001188163680__b842352706153742">PG_LANGUAGE</strong> records programming languages. You can use them and interfaces to write functions or stored procedures.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188163680__t9975502411684556ac1ebd636f65542d" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_LANGUAGE columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188163680__r37492c65a7254e849261a471615bf206"><th align="left" class="cellrowborder" valign="top" width="17.48%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001188163680__a1116ebee7fdb49d595d23466126ea66c">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.099999999999998%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001188163680__acd63f785316d4aabbf44b26974040a08">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.49%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001188163680__a710ac975ec38472a8396dd7e26b3e02c">Reference</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.93%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001188163680__a19a5fec5c58f4e54a5ef368e910bbd1d">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001188163680__rc5e602e108c340caacbfc6176b7a5acf"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__adff2a7d8379a41a588a40227bcfae893">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__a6e42e819114d4189841162fc28a01c76">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__aee8a02faa92e4a78aedbeb6ebcc333ba">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__a59a6716b0f594116b45fa2633a9033d9">Row identifier (hidden attribute; must be explicitly selected)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__rca92275075db4beb919833a63db0b568"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__aaace8f0b0d7649949047f436e420dabe">lanname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__a2b35203a13f2417097d71625ab3eebcd">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__af37f2a45588e43acbd65194b704ecf68">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__ac9c3b61c9b36410e98f79123a2be268a">Name of the language</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__re6434984763d4d0790f7d55f54ffbd4b"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__a2f1c7cb12ef147338765c587560edf06">lanowner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__a7bb9bde7ed634a6aa839e4097c384187">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__a027574f5b3b048689658fcde935d8c26"><a href="dws_04_0574.html">PG_AUTHID</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__a82ff7236a512401d89943e5d50d8c75b">Owner of the language</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__r5496e57564e144c59ab5d41796a87ce6"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__a1902eda80414477388055a9f8579126a">lanispl</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__a0108a5fdb67544389dfd1e11dd132aaa"><span id="EN-US_TOPIC_0000001188163680__text1095513160361">boolean</span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__a157308e22cde4172a3abf6494717f9f6">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__ad27513a5fff94a37aeac2bf8f6abd23c">The value is <strong id="EN-US_TOPIC_0000001188163680__b14562258291">false</strong> for internal languages (such as SQL) and <strong id="EN-US_TOPIC_0000001188163680__b1761730112917">true</strong> for user-defined languages. Currently, <strong id="EN-US_TOPIC_0000001188163680__b842352706154033">gs_dump</strong> still uses this to determine which languages need to be dumped, but this might be replaced by a different mechanism in the future.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__r6dc28a41bffe4dcf84c9e7c755e866f8"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__a9163ffdeef8c415eb45bbc12b3b98c61">lanpltrusted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__a435a2239ac6242df8419cd9a59b3968c"><span id="EN-US_TOPIC_0000001188163680__text1825717113616">boolean</span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__a66ad63890e7d4c09b35c7d9c0090421c">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__a80832dfd25a14e288c0e169d8e4b7dfa">Its value is <strong id="EN-US_TOPIC_0000001188163680__b842352706202228">true</strong> if this is a trusted language, which means that it is believed not to grant access to anything outside the normal SQL execution environment. Only the initial user can create functions in untrusted languages.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__r237f90f931b948299a715a43eb3d3d8a"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__abda762302420407d803ba62cc177a25e">lanplcallfoid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__a7070937842da42109f028d9ef72eb126">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__a7e736a166d6440f78558d7af161572db"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__aa506527d1c504e9caa78a1047e686c91">For external languages, this references the language handler, which is a special function that is responsible for executing all functions that are written in the particular language.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__rcdc5d1b4f7b7492e8738170ff8f2f3ff"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__a5f135025fc8a40178b4fe8bcf38e3c52">laninline</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__ad6fc1d91ae5c44d295f5803afc9b3336">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__ac4bab47946ff4c4896df2f113e0d0407"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__a962fc4fc1a2f4aa09005657620724e9e">This references a function that is responsible for executing "inline" anonymous code blocks (DO blocks). The value is <strong id="EN-US_TOPIC_0000001188163680__b5119921163513">0</strong> if inline blocks are not supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__rbf58b8c3ec104f7ca680e690a9f21d0c"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__a757b33b2950b403eb377574b5d072035">lanvalidator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__a111f237b04e84bb7a811641e8278313e">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__a550c5c959031400ca5939b892efe8c30"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__ab24e646378f24be2991e8b2cca488f5e">This references a language validator function that is responsible for checking the syntax and validity of new functions when they are created. The value is <strong id="EN-US_TOPIC_0000001188163680__b12494538183514">0</strong> if no validator is provided.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163680__rf5057e9dd0864e7e82f96e1aecd92940"><td class="cellrowborder" valign="top" width="17.48%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163680__a30344da270e34785bdd9e7c62336ef2d">lanacl</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163680__ab6622768e1b8466e87d30c6f8199c71d">aclitem[]</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.49%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163680__ab62edc3eb38741b88ba1def61547dfbb">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.93%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163680__ab3c4a365f3d74134a0f2c87d8d0b377f">Access permissions</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
|
|
</div>
|
|
</div>
|
|
|