Re: GIN tries to form a tuple with a partial compressedList during insertion

2025-07-02 Thread Arseniy Mukhin
Hi! Here is a new version. I added a commit message. I will add it to PG19-2. Best regards, Arseniy Mukhin From 0b5a1fce01dd2bb9ef43febeb497dae4eb274405 Mon Sep 17 00:00:00 2001 From: Arseniy Mukhin Date: Wed, 2 Jul 2025 22:00:31 +0300 Subject: [PATCH v2] Add check for compressed posting list i

GIN tries to form a tuple with a partial compressedList during insertion

2025-04-30 Thread Arseniy Mukhin
Hi, In the functions addItemPointersToLeafTuple and buildFreshLeafTuple (in gininsert.c), the result of ginCompressPostingList() is passed to GinFormTuple without checking whether ginCompressPostingList() successfully packed all items. These GinFormTuple calls consistently fail because the resulti