Check if a multi choice field contains EXACTLY given values

Check if a multi choice field contains EXACTLY given values…and not any additional values. Note that a simple equality comparison won’t work because the selections or comparison values can be in any order.

SELECT materials FROM Buildings
WHERE
  materials <@ ARRAY['brick', 'glass', 'wood'] AND
  materials @> ARRAY['brick', 'glass', 'wood']

-- returns rows where *only* brick, glass, and wood are selected