title: How to convert MySQL-style question mark `?` bound parameters to Postgres-style `$1` bound parameter
body: <p>I am converting an existing project from MySQL to Postgres. There are quite a few raw SQL literals in the code that use <code>?</code> as a placeholder, e.g.</p>
  
  <pre><code>  SELECT
      id
    FROM
      users
    WHERE
      name = ?
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>DB query error: error: operator does not exist: character varying = ?
  </code></pre>
  
  <p>I don't want to convert all my existing SQL from <code>?</code> to postgres-style operators like <code>$1</code>.</p>
  
  <p>Is there some way of having node-postgres accept the question marks instead, or an utility that can convert to postgres style params?</p>
  
  <p>Note that some sort of Regex-based hack is not acceptable because question marks can be inside quotes, or backslash escaped to any depth.</p>