How to list custom types using Postgres information_schema

后端 未结 7 1340
遥遥无期
遥遥无期 2020-12-28 12:40

I am trying to find the equivalent SQL of \\dT using the information_schema and can\'t seem to find anything. Does such a thing exist?

Example: If I add the followi

相关标签:
7条回答
  • 2020-12-28 13:13

    Have a look here: http://www.postgresql.org/docs/current/static/catalog-pg-enum.html

    The pg_enum catalogue should have the data you are looking fore

    0 讨论(0)
提交回复
热议问题