Disons que nous avons défini un type postgresql :
CREATE TYPE my_type AS ENUM('foo', 'bar');
Existe-t-il un moyen d'afficher la définition du type après la création ?
Je m'attendrais à ce que "\d my_type" me montre "ENUM('foo', 'bar')", mais cela dit :
Did not find any relation named "my_type"
La table pg_type ne semble pas donner assez d'informations.