On Mon, Dec 21, 2015 at 11:51 AM, sri harsha <sriharsha9...@gmail.com> wrote:
> Hi, > > Is it possible to use threads in Postgresql ?? I am using threads in my > foreign data wrapper and i get the following error when i use the threads . > > *ERROR: stack depth limit exceeded* > *HINT: Increase the configuration parameter "max_stack_depth" (currently > 2048kB), after ensuring the platform's stack depth limit is adequate.* > > PostgreSQL is a process-per-backend model. Can you elaborate on what you are using the threads for?