Re: [WIP]Vertical Clustered Index (columnar store extension) - take2

Peter Smith <smithpb2250@gmail.com>

From: Peter Smith <smithpb2250@gmail.com>
To: Timur Magomedov <t.magomedov@postgrespro.ru>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, Tomas Vondra <tomas@vondra.me>, "Aya Iwata (Fujitsu)" <iwata.aya@fujitsu.com>, Japin Li <japinli@hotmail.com>, shveta malik <shveta.malik@gmail.com>
Date: 2025-11-17T22:45:39Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Mark ItemPointer arguments as const throughout

  2. Reorganize GUC structs

  3. Eliminate XLOG_HEAP2_VISIBLE from vacuum phase III

  4. Update various forward declarations to use typedef

  5. Pathify RHS unique-ification for semijoin planning

  6. Revert "Don't lock partitions pruned by initial pruning"

  7. For inplace update, send nontransactional invalidations.

  8. Remove nearly-unused SizeOfIptrData macro.

Attachments

On Tue, Nov 18, 2025 at 1:32 AM Timur Magomedov
<t.magomedov@postgrespro.ru> wrote:
> Hello Peter!
> Thanks for updating the patch!
> According to the issue I've found recently with incorrect WAL record
> [1], I've prepared a patch that replaces manual XLog...() calls by a
> call to log_heap_prune_and_freeze() in a way similar to what
> freezeWos() and lazy_vacuum_heap_page() do. This fixes reproducer
> scenario on my machine.
>
> [1]
> https://www.postgresql.org/message-id/36cedffdfcac437afd692442cf9c1d16d7f28b01.camel%40postgrespro.ru
>

Here are the latest patches.

Changes include:

PATCH 0002.
- Merged the fix provided by Timur [1].

======
[1] https://www.postgresql.org/message-id/1de545d00a5c0bb8aaf42f05dd118a2c19030041.camel%40postgrespro.ru

Kind Regards,
Peter Smith.
Fujitsu Australia