postgresql – 在pgAdmin中看不到用户定义的数据库“types”

前端之家收集整理的这篇文章主要介绍了postgresql – 在pgAdmin中看不到用户定义的数据库“types”前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
是否有一种图形方式来创建/操纵/查看PgAdmin中的特殊数据库类型?

例如,在Postgresql中,我们有:

CREATE TYPE compfoo AS(f1 int,f2 text);

我注意到pgAdmin几乎以图形方式显示一切,例如触发器,视图,函数和当然表,但我找不到我创建的类型。

您只需要通过菜单文件→选项…→浏览器和检查类型启用查看类型:

根据pgAdmin的documentation

The list of check Boxes is used to select which object types to show in the browser tree. By default,only the most commonly used object types are shown. Reducing the number of object types shown can increase the speed of pgAdmin when querying the system catalogs. Use the Default button to reset the list to its default settings.

猜你在找的Postgre SQL相关文章