Re: [HACKERS] Parallel Bitmap scans a bit broken

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] Parallel Bitmap scans a bit broken
Дата
Msg-id CA+TgmoajNzDSVARXhOCLJJLg+otHOd-7XAa_LtmEMr9aBMhXzw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Parallel Bitmap scans a bit broken  (Emre Hasegeli <emre@hasegeli.com>)
Ответы Re: [HACKERS] Parallel Bitmap scans a bit broken  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
On Thu, Mar 16, 2017 at 10:56 AM, Emre Hasegeli <emre@hasegeli.com> wrote:
>> Hopefully, this time I got it correct.  Since I am unable to reproduce
>> the issue so I will again need your help in verifying the fix.
>
> It is not crashing with the new patch.  Thank you.

Thanks for confirming.  Some review comments on v2:

+    if (istate->pagetable)

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.

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?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: [HACKERS] Crash on promotion when recovery.conf is renamed
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] WIP: Faster Expression Processing v4