Re: [HACKERS] Threads in PostgreSQL

From: Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
To: sri harsha <sriharsha9992(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Threads in PostgreSQL
Date: 2015-12-21 06:24:09
Message-ID: CAOeZVifx9aAzW1_AatRkCJwY-UBvW5qWaNvq0_KhwJd7nSvmxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Mon, Dec 21, 2015 at 11:51 AM, sri harsha <sriharsha9992(at)gmail(dot)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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-12-21 06:24:57 Re: Threads in PostgreSQL
Previous Message sri harsha 2015-12-21 06:21:30 Threads in PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message John R Pierce 2015-12-21 06:24:57 Re: Threads in PostgreSQL
Previous Message sri harsha 2015-12-21 06:21:30 Threads in PostgreSQL