Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
49.37. pg_pltemplate
Prev UpChapter 49. System CatalogsHome Next

49.37. pg_pltemplate

The catalogpg_pltemplate storestemplate information for procedural languages. A template for a language allows the language to be created in a particular database by a simpleCREATE LANGUAGE command, with no need to specify implementation details.

Unlike most system catalogs,pg_pltemplate is shared across all databases of a cluster: there is only one copy ofpg_pltemplate per cluster, not one per database. This allows the information to be accessible in each database as it is needed.

Table 49.37. pg_pltemplate Columns

NameTypeDescription
tmplnamenameName of the language this template is for
tmpltrustedbooleanTrue if language is considered trusted
tmpldbacreatebooleanTrue if language may be created by a database owner
tmplhandlertextName of call handler function
tmplinlinetextName of anonymous-block handler function, or null if none
tmplvalidatortextName of validator function, or null if none
tmpllibrarytextPath of shared library that implements language
tmplaclaclitem[]Access privileges for template (not actually used)

There are not currently any commands that manipulate procedural language templates; to change the built-in information, a superuser must modify the table using ordinaryINSERT,DELETE, orUPDATE commands.

Note

It is likely thatpg_pltemplate will be removed in some future release ofPostgres Pro, in favor of keeping this knowledge about procedural languages in their respective extension installation scripts.


Prev Up Next
49.36. pg_partitioned_table Home 49.38. pg_policy
epubpdf
Go to Postgres Pro Standard 10
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp