title: Can we execute a postgresql stored procedure in background
body: <p>I have a PostgreSQL stored procedure which needs to process huge amount of data . The process can take 10 hour also. I am currently working with PostgreSQL 12.7.
  My procedure is getting triggered from a JAVA asynchronous thread. I want to release the JAVA thread as soon as the call to procedure is triggered and not hold it for 10 hours and execute the procedure from PostgreSQL end (background process).
  Is there any way to execute the procedure in background which is independent of the calling API?</p>