title: PostgreSQL Function Execution issues
body: <p>I am facing a problem while executing a Function written using PL/pgSQL. The problem that I am facing is that when I execute the function manually using pgAdmin, the functions gets executed and the data gets loaded into the destination table. But when I execute the same function using a scheduler which has been developed by our team to execute all the different kinds of functions and ETLs based on the requirements, the postgreSQL function executes but doesn't COMMIT the data into the table. If we give a COMMIT statement after the function execution statement, only then the data gets committed. </p>
  
  <p>Can any one suggest me what could be the possible reason for this behaviour of the function which get committed while executing manually but not when executed in a scheduler?</p>
  
  <p>I would be highly obliged if someone can help me with this at the earliest.</p>
  
  <p>Thanks in advance.</p>