Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Alexander Lakhin <exclusion(at)gmail(dot)com>, Michael Zhilin <m(dot)zhilin(at)postgrespro(dot)ru>, pgsql-bugs(at)postgresql(dot)org, Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru>
Subject: Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum
Date: 2026-05-08 23:07:06
Message-ID: af5smncUA1MzXNxa@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, May 04, 2026 at 10:20:04AM +0500, Andrey Borodin wrote:
> However, I'd like to note that (VARSIZE_1B() < TOAST_INDEX_TARGET) is
> constantly true for 8Kb+ pages.

How much slower? I cannot imagine that it matters much in this code
path, but you are getting me worried.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2026-05-09 02:22:23 BUG #19474: LIKE with nondeterministic collations mis-handle literal backslashes in patterns containing escape
Previous Message Kirill Reshke 2026-05-08 21:15:48 Re: BUG #19473: regression error in dblink: another command is already in progress