在 PostgreSQL 中获取新自定义数据类型的源代码

get the source code of the newly customized data type in PostgreSQL

请问有什么办法可以得到新自定义的数据类型的源码吗? 一段时间后,我忘记了新创建的数据类型的含义...

postgres=# \dT+ twoints
                                        List of data types
 Schema |  Name   | Internal name | Size  | Elements |  Owner   | Access privileges | Description
--------+---------+---------------+-------+----------+----------+-------------------+-------------
 public | twoints | twoints       | tuple |          | postgres |                   |

\dT+ 似乎没有提供太多关于自定义数据类型的信息...

还尝试了 pg_type 目录。

https://www.postgresql.org/docs/current/catalog-pg-type.html

typinput regproc (references pg_proc.oid)

Input conversion function (text format)

也许typinput可以帮助我,但我不知道。

通过 pgadmin4.

数据库 >> postgres >> 架构 >> 类型 >> twoints,右键单击 CREATE Script