p.sun.fun@gmail.com writes:
> Thanks for the quick response. In the function that I execute in each
> thread, I create a new PGconn at the beginning. I expect that every
> function caller (thread) should use a unique PGconn. I would not expect
> that PGconn can be shared between threads. The documentation explicitly
> says that.
In that case you need to probe a little deeper. What error message(s)
are you getting? Is there anything relevant in the server's log?
regards, tom lane