Re: Needs Suggestion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Needs Suggestion
Дата
Msg-id 24960.1285166029@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Needs Suggestion  (subham@cse.iitb.ac.in)
Список pgsql-hackers
subham@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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Git cvsserver serious issue
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQLSTATE of notice PGresult