Re: Improving scalability of Parallel Bitmap Heap/Index Scan

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: David Geier <geidav(dot)pg(at)gmail(dot)com>
Cc: John Naylor <johncnaylorls(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Improving scalability of Parallel Bitmap Heap/Index Scan
Date: 2026-10-16 03:13:03
Message-ID: CAGRkXqSw2a=YouNn89PmyMxnjx+x2MkynG2vCfp6Fjt++rYHyA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi David,

Great work, I like this idea a lot.

A few small things in 0002

1. With ST_COMPARE_RUNTIME_POINTER the typedef
uses const ST_ELEMENT_TYPE *, which for Item * becomes const Item **,
so a comparator taking Item *const * warns. ST_ELEMENT_TYPE const *
fixes it.

2. tbm_comparator() lost its const. It can take
PagetableEntry *const *.

3. The common/int.h include in tidbitmap.c is now unused.

4. tbm_shared_comparator() is missing inline in its definition.

Thanks,
Shihao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-10-16 03:26:34 Re: Proposal: Conflict log history table for Logical Replication
Previous Message shihao zhong 2026-10-16 03:11:13 Re: Parallel TID Range Scan returns wrong results on rescan