internal
built-in functions
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Kind
- Native function language
- Trusted
- f
- Validator
- fmgr_internal_validator
- aliases
- 未知
- manual path
- /docs/18/xfunc-internal.html
- signature
- 未知
版本定义 PG 18
36.9. Internal Functions
Internal functions are functions written in C that have been statically linked into the PostgreSQL server. The “body” of the function definition specifies the C-language name of the function, which need not be the same as the name being declared for SQL use. (For reasons of backward compatibility, an empty body is accepted as meaning that the C-language function name is the same as the SQL name.)
Normally, all internal functions present in the server are declared during the initialization of the database cluster (see Section 18.2), but a user could use CREATE FUNCTION to create additional alias names for an internal function. Internal functions are declared in CREATE FUNCTION with language name internal. For instance, to create an alias for the sqrt function:
CREATE FUNCTION square_root(double precision) RETURNS double precision
AS 'dsqrt'
LANGUAGE internal
STRICT;
(Most internal functions expect to be declared “strict”.)
Note
Not all “predefined” functions are “internal” in the above sense. Some predefined functions are written in SQL.
比较版本
完整来源事实
attributes
{"handler":"","kind":"Native function language","trusted":"f","validator":"fmgr_internal_validator"}catalog
{"descr":"built-in functions","lanacl":"_null_","laninline":"0","lanispl":"f","lanname":"internal","lanowner":"POSTGRES","lanplcallfoid":"0","lanpltrusted":"f","lanvalidator":"fmgr_internal_validator","oid":"12","oid_symbol":"INTERNALlanguageId"}来源引用
定义来源
center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f