title: Using positional parameter ($1,..) in psql
body: <p>I often want to copy/paste sql out of my program code and test/debug in psql and it is tedious to have to replace positional arguments with literal values. Is there a good way to convert:</p>
  
  <pre><code>select * from users where name=$1 and email=$2; 
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>select * from users where name='troy' and email='t@me.com';
  </code></pre>