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
Old question, but a new answer. In modern versions of Postgres (tested with 9.6) none of this is required. It works as expected:
INSERT INTO lecture_room (equipment) VALUES ('{"projector", "safe"}');