title: postgres:get executable query from query with parameters
body: <p>Is there any way to get executable query from query with $ parameters.Actually its weird but i want to store executable query in database.A complete query without parameters($1,$2,$3)</p>
  
  <p>i am using <a href="https://github.com/brianc/node-postgres" rel="nofollow">node-postgres</a></p>
  
  <pre><code>pg.connect(conString, function(err, client, done) {
  
  console.log('Executing Insert query');
  
  client.query('insert into tablename(column1,column2,column3) values($1,$2,$3)',["data1","data2","data3"],  function(err, result) {
  
      done();
  
      console.log('finished executing Insert query');
      });
  });
  </code></pre>
  
  <p>this is what i need</p>
  
  <pre><code>insert into tablename(column1,column2,column3) values("data1","data2","data3")
  </code></pre>