Re: Adding skip scan (including MDAM style range skip scan) to nbtree - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Adding skip scan (including MDAM style range skip scan) to nbtree
Date
Msg-id CAH2-WznDbVUkN5DzjawMrvX1+bu6c1FmrNm1c7YXduLM4K3t2g@mail.gmail.com
Whole thread Raw
In response to Re: Adding skip scan (including MDAM style range skip scan) to nbtree  (Mark Dilger <mark.dilger@enterprisedb.com>)
List pgsql-hackers
On Wed, Apr 30, 2025 at 9:12 PM Mark Dilger
<mark.dilger@enterprisedb.com> wrote:
> TRAP: failed Assert("numSkipArrayKeys == 0"), File: "nbtpreprocesskeys.c", Line: 1859, PID: 7210
> 0   postgres                            0x00000001032f30e0 ExceptionalCondition + 108
> 1   postgres                            0x0000000102e83100 _bt_preprocess_keys + 6036

> This looks sufficiently different from the assertion mentioned on the other thread to be worth posting here.

It is a completely unrelated issue. Fortunately, this one is harmless.
The assertion merely failed to account for the case where we
completely end the scan during preprocessing due to it having an
unsatisfiable array qual.

Pushed a fix for this just now.

Thanks

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Logical Replication of sequences
Next
From: Fujii Masao
Date:
Subject: Re: Questions about logicalrep_worker_launch()