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
PostgreSQL doesn't know how to automatically cast input of type text to input of type equipment. You have to explicitly declare your strings as being of type equipment:
text
equipment
ARRAY['projector','PAsystem','safe']::equipment[]
I confirmed this with SQL Fiddle.