sub...@cse.iitb.ac.in writes: > How can I increase the stack depth limit ? Is it only by modifying the > postgres.conf file, but there I cannot increase the stack depth beyond 4 > MB.
> Actually, my problem is that, when I set the stack base address of the > child thread using the POSIX library function "pthread_setstackaddr()", I > am unable to access the memory contents of its parent. You've got worse problems than the stack depth limit. Creating multiple threads inside a backend process is entirely unsupported and just about guaranteed to result in massive breakage. Don't do it. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers