| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера