title: Escape all single quotes in postgresql
body: <p>Instead of escaping each <code>'</code> in text, is there any way to escape them all at once, something like this:</p>
  
  <pre><code>insert into table1(data) values(@'it's a string, it's got some single quotes')
  </code></pre>