Re: PHJ file leak.

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: PHJ file leak.
Дата
Msg-id 20191112.121958.521015722194151380.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: PHJ file leak.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PHJ file leak.
Список pgsql-hackers
At Mon, 11 Nov 2019 17:24:45 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote in 
> Although the patch seems unobjectionable as far as it goes, I'd like
> to understand why we didn't see the need for it long since.  Is there
> another call to ExecParallelHashCloseBatchAccessors somewhere, and
> if so, is that one wrongly placed?

The previous patch would be wrong. The root cause is a open batch so
the right thing to be done at scan end is
ExecHashTableDeatchBatch. And the real issue here seems to be in
ExecutePlan, not in PHJ.

regards

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: documentation inconsistent re: alignment
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [bug fix] Produce a crash dump before main() on Windows