How can I insert an array of enums? Here is my enum:
array of enums
enum
CREATE TYPE equipment AS ENUM (\'projector\',\'PAsystem\',\'safe\',\'PC\',\'ph
The alternative to an ARRAY constructor like @Mark correctly supplied is to cast a string literal directly:
'{projector,PAsystem,safe}'::equipment[]
This variant is shorter and some clients have problems with the ARRAY constructor, which is a function-like element.