title: How to replace postgresql function body?
body: <p>In the <a href="https://www.postgresql.org/docs/9.6/static/sql-alterfunction.html" rel="noreferrer">DOC</a> only described how to change function definition.</p>
  
  <p>But I have only function body changed (text between <code>$$</code> sql <code>$$</code>).</p>
  
  <p>How to replace only this function body? Should I use <code>CREATE OR REPLACE</code> syntax to accomplish this?</p>