Re: where EXEC_BACKEND?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: where EXEC_BACKEND?
Дата
Msg-id 20090516185316.GA11658@alvh.no-ip.org
обсуждение исходный текст
Ответ на where EXEC_BACKEND?  (abdelhak benmohamed <abdelhak.benmohamed@yahoo.fr>)
Список pgsql-hackers
abdelhak benmohamed wrote:
> hi,
> 
> actually i try to execute postgres step by step (on paper)
> i don't retreive where EXEC_BACKEND is initialized
> can any one help me?
> it is very important for me

Nowhere.  If you want it, you have to define it manually in
pg_config_manual.h.

EXEC_BACKEND is a source code hack that allows the Unix build (which
normally uses only fork() without exec()) to follow the same startup
code as the Windows version (which uses CreateProcess(), equivalent to
both fork() and exec()), allowing for better debuggability for those of
us that do not use Windows.

If you want to follow postmaster initialization on a POSIX platform,
it's easier if you just assume that EXEC_BACKEND is not defined.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: where EXEC_BACKEND?
Следующее
От: "Dickson S. Guedes"
Дата:
Сообщение: generate_series from now to infinity...