Re: fork/exec

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fork/exec
Дата
Msg-id 271.1070049000@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fork/exec  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers-win32
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Agreed.  We have to pass the shared memory address, but the rest should
> be registered in shared memory somewhere and we can initialize those
> values.  The old code used to point _using_ those memory pointers, but I
> don't think that is necessary --- in fork/exec mode, we can just use
> share memory to initialize the pointers properly.

Yeah.  It might be useful to extend the shmem segment header (which at
the moment is mostly just for identification) to hold one or two
critical addresses, such as the address of the LWLock array.  But the
index map used to work for this back when we had fork/exec in the Unix
implementation, so it should be possible to make it work again without
undue amounts of pain.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: fork/exec
Следующее
От: Tom Lane
Дата:
Сообщение: Re: fork/exec