Skip to main content

SHOW FUNCTIONS

运行 SHOW FUNCTIONS 可获取现有 用户定义函数 的列表。返回的信息包括每个函数的名称、参数类型、返回类型、语言和服务器地址。

句法

SHOW FUNCTIONS [ LIKE_expression ];

参数

参数或子句描述
LIKE_expression通过模式匹配,根据名称过滤输出。详见 LIKE 模式匹配表达式

示例

       Name       |         Arguments         |                                Return Type                                | Language |         Link
------------------+---------------------------+---------------------------------------------------------------------------+----------+-----------------------
jsonb_concat | jsonb[] | jsonb | python | http://localhost:8815
array_access | varchar[], integer | varchar | python | http://localhost:8815
hex_to_dec | varchar | numeric | python | http://localhost:8815
gcd | integer, integer, integer | integer | python | http://localhost:8815
gcd | integer, integer | integer | python | http://localhost:8815
extract_tcp_info | bytea | struct<src_ip varchar,dst_ip varchar,src_port smallint,dst_port smallint> | python | http://localhost:8815
int_42 | | integer | python | http://localhost:8815
series2 | integer | struct<x integer,y varchar> | python | http://localhost:8815
series | integer | integer | python | http://localhost:8815
jsonb_access | jsonb, integer | jsonb | python | http://localhost:8815
(10 rows)