In Postgresql, when I try to run
ALTER TYPE x ADD VALUE y; on a custom datatype I get an error stating
PG::Error: ERROR: must be owner of type x.
I know this can be solved by running
ALTER TYPE x OWNER TO <database owner> but what I'm curious about is how I can check the current owner of this specific datatype.
\dT+ x does not give me information about the current owner.
How can I extract more information about custom data types, including the current owner?