Re: fork/exec problem: DynaHashCxt

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fork/exec problem: DynaHashCxt
Дата
Msg-id 26797.1070424724@sss.pgh.pa.us
обсуждение исходный текст
Ответ на fork/exec problem: DynaHashCxt  (Claudio Natoli <claudio.natoli@memetrics.com>)
Список pgsql-hackers
Claudio Natoli <claudio.natoli@memetrics.com> writes:
> All the ShmemInitHash structures are allocated using DynaHashCxt.

I'm not sure if you're confusing backend-local hashes with shared
hashes, or hash control headers with the actual shared data.  But
the above is a false statement.  DynaHashCxt is not shared.

Shared hashes are a bit tricky because there is a backend-local
structure that has a pointer into the shared memory --- is that
what's confusing you?

Keep in mind that this code did work in a fork/exec context not
so many moons ago.  If you think you see a showstopper, it's a
relatively recent change and can be undone.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Inside the Regex Engine
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: rebuilding rpm for RH9 error