列出ENUM类型的建议查询很棒.但是,它只列出了schema和typname.如何列出实际的ENUM值?例如,在上面的链接答案中,我希望得到以下结果
schema type values
------------- -------- -------
communication channels 'text_message','email','phone_call','broadcast'
Run Code Online (Sandbox Code Playgroud) 您好,我想在 postgresql 中使用枚举作为创建表的替代方法,因为这些值永远不会改变,但我希望能够为应用程序检索这些值,该应用程序可能会检查以防万一,有什么办法查询它来获取值?