加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-13 16:49:09 所属栏目:百科 来源:网络整理
导读:是否有一种图形方式来创建/操纵/查看PgAdmin中的特殊数据库类型? 例如,在PostgreSQL中,我们有: CREATE TYPE compfoo AS(f1 int,f2 text); 我注意到pgAdmin几乎以图形方式显示一切,例如触发器,视图,函数和当然表,但我找不到我创建的类型。 您只需要
是否有一种图形方式来创建/操纵/查看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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读