title: Run python or javascript file from postgres function?
body: <p>How i can Run python or javascript file from postgres function ?</p>
  
  <p>I have two postgres data base with totally different structure . </p>
  
  <p>but i need to sync that two databases .</p>
  
  <p>I will write the script that will read data from local data base and write into server data base in any language (python , java , javascript, node).</p>
  
  <p>but the main problem is :</p>
  
  <p>I do not know how to call that script from postgres procedure or function .</p>
  
  <p>so the ques is :</p>
  
  <p><strong>How we can call or run any script from postgres procedure ?</strong></p>