title: select with conditions on array of composite types (postgresql)
body: <p>For example I have type:</p>
  
  <pre><code>CREATE TYPE record AS ( name text, description text, tags text[])
  </code></pre>
  
  <p>And table:</p>
  
  <pre><code>CREATE TABLE items ( id serial, records record[] )
  </code></pre>
  
  <p>How can I select all items with records with tags 'test' (without using PL/pgSQL)?</p>