Re: fork/exec

Поиск
Список
Период
Сортировка
От Claudio Natoli
Тема Re: fork/exec
Дата
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F2B3@harris.memetrics.local
обсуждение исходный текст
Ответ на fork/exec  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: fork/exec  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers
 
> Looking at postmaster.c, my head started to spin a little. I think I 
> understood that exec case or not, by the time we get to BackendRun we 
> have already done all the fork/exec action. Have I read this correctly?

Yes. In the normal case, fork() then BackendRun. In the EXEC_BACKEND case,
fork/exec (or CreateProcess), which then invokes BackendRun via
SubPostmasterMain.


> (This code is getting rather intricate. A Readme file might be nice. 
Just a thought)

Which bits in particular?

Cheers,
Claudio

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Idea about better configuration options for sort memory
Следующее
От: Claudio Natoli
Дата:
Сообщение: Re: fork/exec