Re: fork/exec patch

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: fork/exec patch
Дата
Msg-id 873cbnaz3h.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: fork/exec patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: fork/exec patch
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Let me add that Claudio is doing a fantastic job on this.  The
> changes are minimal and clean.  I think the writing of a per-backend
> temp file has allowed this patch to be smaller than it might have
> been.

Did we REALLY conclude that the best way to work around the lack of
fork() on Win32 is by writing variables out to disk and reading them
back in? Frankly, that seems like an enormous kludge.

For example, couldn't we write this data into a particular location in
shared memory, and then pass that location to the child? That is still
ugly, slow, and prone to failure (shmem being statically sized), but
ISTM that the proposed implementation already possesses those
attributes :-)

(/me goes off to re-read the archives on this issue...)

-Neil


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

Предыдущее
От: Kurt Roeckx
Дата:
Сообщение: Walker/mutator prototype.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: fork/exec patch