|
225 | 225 | <entry>information about partition key of tables</entry>
|
226 | 226 | </row>
|
227 | 227 |
|
228 |
| - <row> |
229 |
| - <entry><link linkend="catalog-pg-pltemplate"><structname>pg_pltemplate</structname></link></entry> |
230 |
| - <entry>template data for procedural languages</entry> |
231 |
| - </row> |
232 |
| - |
233 | 228 | <row>
|
234 | 229 | <entry><link linkend="catalog-pg-policy"><structname>pg_policy</structname></link></entry>
|
235 | 230 | <entry>row-security policies</entry>
|
@@ -4911,113 +4906,6 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l
|
4911 | 4906 | </sect1>
|
4912 | 4907 |
|
4913 | 4908 |
|
4914 |
| - <sect1 id="catalog-pg-pltemplate"> |
4915 |
| - <title><structname>pg_pltemplate</structname></title> |
4916 |
| - |
4917 |
| - <indexterm zone="catalog-pg-pltemplate"> |
4918 |
| - <primary>pg_pltemplate</primary> |
4919 |
| - </indexterm> |
4920 |
| - |
4921 |
| - <para> |
4922 |
| - The catalog <structname>pg_pltemplate</structname> stores |
4923 |
| - <quote>template</quote> information for procedural languages. |
4924 |
| - A template for a language allows the language to be created in a |
4925 |
| - particular database by a simple <command>CREATE LANGUAGE</command> command, |
4926 |
| - with no need to specify implementation details. |
4927 |
| - </para> |
4928 |
| - |
4929 |
| - <para> |
4930 |
| - Unlike most system catalogs, <structname>pg_pltemplate</structname> |
4931 |
| - is shared across all databases of a cluster: there is only one |
4932 |
| - copy of <structname>pg_pltemplate</structname> per cluster, not |
4933 |
| - one per database. This allows the information to be accessible in |
4934 |
| - each database as it is needed. |
4935 |
| - </para> |
4936 |
| - |
4937 |
| - <table> |
4938 |
| - <title><structname>pg_pltemplate</structname> Columns</title> |
4939 |
| - |
4940 |
| - <tgroup cols="3"> |
4941 |
| - <thead> |
4942 |
| - <row> |
4943 |
| - <entry>Name</entry> |
4944 |
| - <entry>Type</entry> |
4945 |
| - <entry>Description</entry> |
4946 |
| - </row> |
4947 |
| - </thead> |
4948 |
| - |
4949 |
| - <tbody> |
4950 |
| - <row> |
4951 |
| - <entry><structfield>tmplname</structfield></entry> |
4952 |
| - <entry><type>name</type></entry> |
4953 |
| - <entry>Name of the language this template is for</entry> |
4954 |
| - </row> |
4955 |
| - |
4956 |
| - <row> |
4957 |
| - <entry><structfield>tmpltrusted</structfield></entry> |
4958 |
| - <entry><type>boolean</type></entry> |
4959 |
| - <entry>True if language is considered trusted</entry> |
4960 |
| - </row> |
4961 |
| - |
4962 |
| - <row> |
4963 |
| - <entry><structfield>tmpldbacreate</structfield></entry> |
4964 |
| - <entry><type>boolean</type></entry> |
4965 |
| - <entry>True if language may be created by a database owner</entry> |
4966 |
| - </row> |
4967 |
| - |
4968 |
| - <row> |
4969 |
| - <entry><structfield>tmplhandler</structfield></entry> |
4970 |
| - <entry><type>text</type></entry> |
4971 |
| - <entry>Name of call handler function</entry> |
4972 |
| - </row> |
4973 |
| - |
4974 |
| - <row> |
4975 |
| - <entry><structfield>tmplinline</structfield></entry> |
4976 |
| - <entry><type>text</type></entry> |
4977 |
| - <entry>Name of anonymous-block handler function, or null if none</entry> |
4978 |
| - </row> |
4979 |
| - |
4980 |
| - <row> |
4981 |
| - <entry><structfield>tmplvalidator</structfield></entry> |
4982 |
| - <entry><type>text</type></entry> |
4983 |
| - <entry>Name of validator function, or null if none</entry> |
4984 |
| - </row> |
4985 |
| - |
4986 |
| - <row> |
4987 |
| - <entry><structfield>tmpllibrary</structfield></entry> |
4988 |
| - <entry><type>text</type></entry> |
4989 |
| - <entry>Path of shared library that implements language</entry> |
4990 |
| - </row> |
4991 |
| - |
4992 |
| - <row> |
4993 |
| - <entry><structfield>tmplacl</structfield></entry> |
4994 |
| - <entry><type>aclitem[]</type></entry> |
4995 |
| - <entry>Access privileges for template (not actually used)</entry> |
4996 |
| - </row> |
4997 |
| - |
4998 |
| - </tbody> |
4999 |
| - </tgroup> |
5000 |
| - </table> |
5001 |
| - |
5002 |
| - <para> |
5003 |
| - There are not currently any commands that manipulate procedural language |
5004 |
| - templates; to change the built-in information, a superuser must modify |
5005 |
| - the table using ordinary <command>INSERT</command>, <command>DELETE</command>, |
5006 |
| - or <command>UPDATE</command> commands. |
5007 |
| - </para> |
5008 |
| - |
5009 |
| - <note> |
5010 |
| - <para> |
5011 |
| - It is likely that <structname>pg_pltemplate</structname> will be removed in some |
5012 |
| - future release of <productname>PostgreSQL</productname>, in favor of |
5013 |
| - keeping this knowledge about procedural languages in their respective |
5014 |
| - extension installation scripts. |
5015 |
| - </para> |
5016 |
| - </note> |
5017 |
| - |
5018 |
| - </sect1> |
5019 |
| - |
5020 |
| - |
5021 | 4909 | <sect1 id="catalog-pg-policy">
|
5022 | 4910 | <title><structname>pg_policy</structname></title>
|
5023 | 4911 |
|
@@ -8519,7 +8407,15 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l
|
8519 | 8407 | <row>
|
8520 | 8408 | <entry><structfield>superuser</structfield></entry>
|
8521 | 8409 | <entry><type>bool</type></entry>
|
8522 |
| - <entry>True if only superusers are allowed to install this extension</entry> |
| 8410 | + <entry>True if only superusers are allowed to install this extension |
| 8411 | + (but see <structfield>trusted</structfield>)</entry> |
| 8412 | + </row> |
| 8413 | + |
| 8414 | + <row> |
| 8415 | + <entry><structfield>trusted</structfield></entry> |
| 8416 | + <entry><type>bool</type></entry> |
| 8417 | + <entry>True if the extension can be installed by non-superusers |
| 8418 | + with appropriate privileges</entry> |
8523 | 8419 | </row>
|
8524 | 8420 |
|
8525 | 8421 | <row>
|
|
0 commit comments