how to see enum list postgresql code example Example: psql view enum values SELECT enum_range(NULL::myenum);