title: How to list custom types using Postgres information_schema
body: <p>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?</p>
  
  <p>Example: If I add the following custom type enum, how can I see it in the information_schema?</p>
  
  <pre><code>CREATE TYPE communication.channels AS ENUM
     ('text_message',
      'email',
      'phone_call',
      'broadcast');
  </code></pre>
  
  <p>NOTE: I do have the exact SQL used by \dT (retrieved by turning up the logging) but I am looking specifically for a cleaner implementation using the information_schema</p>