Re: [HACKERS] Parallel Bitmap scans a bit broken

Поиск
Список
Период
Сортировка
От Dilip Kumar
Тема Re: [HACKERS] Parallel Bitmap scans a bit broken
Дата
Msg-id CAFiTN-sqFOrxNJgCc_KOKam2nqbza9PVOh2do566MxfBWkeiHw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Parallel Bitmap scans a bit broken  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] Parallel Bitmap scans a bit broken  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, Mar 16, 2017 at 8:42 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> Thanks for confirming.  Some review comments on v2:
>
> +    if (istate->pagetable)
fixed
>
> Please compare explicitly to InvalidDsaPointer.
>
> +    if (iterator->ptbase)
> +        ptbase = iterator->ptbase->ptentry;
> +    if (iterator->ptpages)
> +        idxpages = iterator->ptpages->index;
> +    if (iterator->ptchunks)
> +        idxchunks = iterator->ptchunks->index;
>
> Similarly.
fixed

Also fixed at
+ if (ptbase)
+   pg_atomic_init_u32(&ptbase->refcount, 0);

>
> Dilip, please also provide a proposed commit message describing what
> this is fixing.  Is it just the TBM_EMPTY case, or is there anything
> else?

Okay, I have added the commit message in the patch.


-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: [HACKERS] PinBuffer() no longer makes use of strategy
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: [HACKERS] Parallel Bitmap scans a bit broken