title: Does JSONB make PostgreSQL arrays useless?
body: <p>Suppose that you want to store "tags" on your object (say, a post). With release 9.4 you have 3 main choices:</p>
  
  <ul>
  <li>tags as text[]  </li>
  <li>tags as jsonb  </li>
  <li>tags as text (and you store a JSON string as text)  </li>
  </ul>
  
  <p>In many cases, 3rd would be out of question since it wouldn't allow query conditional to 'tags' value. In my current development, I don't need such queries, tags are only there to be shown on posts list, not to filter posts.</p>
  
  <p>So, choice is mostly between <code>text[]</code> and <code>jsonb</code>. Both can be queried.<br>
  What would you use? And why?</p>