title: Postgres UDF functions C using fork
body: <p>I have developed one C UDF for postgres.
  This UDF needs to invoke fork and run some function ( Does not invoke exec )
  I am getting following error </p>
  
  <pre><code>LOG:  failed to find proc 0x7fb0715b95b0 in ProcArray
  FATAL:  connection limit exceeded for non-superusers
  </code></pre>
  
  <p>I looked at some discussion at following link and looks like there was no conclusion. Can somebody let me know how I can run such UDF without causing above problem?</p>
  
  <p><a href="http://grokbase.com/t/postgresql/pgsql-general/108aqsaky6/fork-and-dynamically-loaded-c-functions" rel="nofollow">http://grokbase.com/t/postgresql/pgsql-general/108aqsaky6/fork-and-dynamically-loaded-c-functions</a></p>