On Mon, Dec 21, 2015 at 11:51 AM, sri harsha <sriharsha9992@xxxxxxxxx> 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 exceededHINT: 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?