Re: Parallel Seq Scan
От | Amit Langote |
---|---|
Тема | Re: Parallel Seq Scan |
Дата | |
Msg-id | 550F70CA.6020000@lab.ntt.co.jp обсуждение исходный текст |
Ответ на | Re: Parallel Seq Scan (Amit Kapila <amit.kapila16@gmail.com>) |
Список | pgsql-hackers |
On 20-03-2015 PM 09:06, Amit Kapila wrote: > On Mon, Mar 16, 2015 at 12:58 PM, Amit Langote < > Langote_Amit_f8@lab.ntt.co.jp> wrote: >> Actually I meant "currently the last" or: >> >> funnel->nextqueue == funnel->nqueue - 1 >> >> So the code you quote would only take care of subset of the cases. >> > > Fixed this issue by resetting funnel->next queue to zero (as per offlist > discussion with Robert), so that it restarts from first queue in such > a case. > >> >> >> How about shm_mq_detach() called from ParallelQueryMain() right after >> exec_parallel_stmt() returns? Doesn't that do the SetLatch() that needs > to be >> done by a worker? >> > > Fixed this issue by not going for Wait incase of detached queues. > Thanks for fixing. I no longer see the problems. Regards, Amit
В списке pgsql-hackers по дате отправления: