list Postgres ENUM type

前端 未结 9 2209
一个人的身影
一个人的身影 2020-12-12 11:57

The suggested query to list ENUM types is great. But, it merely lists of the schema and the typname. How do I list out the actual ENUM values? For

9条回答
  •  生来不讨喜
    2020-12-12 12:05

    You can list the data type via

    \dT+ channels
    

    https://www.postgresql.org/docs/current/static/app-psql.html#APP-PSQL-META-COMMANDS

提交回复
热议问题