PostgreSQL 中文参考文档
🌐 英文原版 官方 ↗

52.57. pg_transform #

目录 pg_transform 存储关于转换的信息, 转换是一种把数据类型适配到过程语言的机制。 更多信息见 CREATE TRANSFORM。

Table 52.57. \1 字段列说明

Column Type

Description

oid oid

Row identifier

trftype oid (references pg_type.oid)

此转换所针对的数据类型的 OID

trflang oid (references pg_language.oid)

此转换所针对的语言的 OID

trffromsql regproc (references pg_proc.oid)

把数据类型转换为过程语言的输入(例如函数参数)时所使用的 函数的 OID。如果应使用默认行为,则存储零。

trftosql regproc (references pg_proc.oid)

把过程语言的输出(例如返回值)转换回数据类型时所使用的 函数的 OID。如果应使用默认行为,则存储零。