title: How to use LIKE on inet field in Postgres
body: <p>I need to perform the following query:</p>
  
  <pre><code>SELECT * FROM users WHERE ip LIKE '88.99.%';
  </code></pre>
  
  <p>The problem is that the <code>inet</code> datatype does not seems to support wildcards (at least not in the way I have utilized them in the preceding query).</p>
  
  <p>What I'd like to know is whether it would be a smart move to convert the field into string before specifying the <code>LIKE</code> filter? (On the other hand, this would probably slow down the whole query, even if the approach itself was valid.)</p>