title: Parameter with pattern matching syntax in a PostgreSQL query
body: <p>Iam writing a golang program in which i query postgres database. I want to to use $1 to supply values and should have a pattern matching</p>
  
  <pre><code>Db.Query("SELECT * FROM table where name like %$1%", user)
  </code></pre>
  
  <p>it says:</p>
  
  <blockquote>
    <p>syntax error at or near "%"</p>
  </blockquote>