public inbox for [email protected]
help / color / mirror / Atom feedFrom: jian he <[email protected]>
To: Michael Zhilin <[email protected]>
Cc: Andrey M. Borodin <[email protected]>
Cc: Alexander Lakhin <[email protected]>
Cc: [email protected]
Cc: y sokolov <[email protected]>
Subject: Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum
Date: Tue, 23 Jan 2024 08:00:00 +0800
Message-ID: <CACJufxFZcOTrq-NpFs7wErSh2KX4KePD7MuiF6d_h4nD=OJJKA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
On Wed, Jan 10, 2024 at 1:59 AM Michael Zhilin <[email protected]> wrote:
>
> Hi,
>
> Thank you, Andrey, for review and advice!
>
> Here is rebased version (v2) of patch supposed to make CF bot happy.
Hi
+--
+-- BUG: must support different header size of short varlena datum
+--
+
+CREATE TABLE varlena_bug (v text);
+ALTER TABLE varlena_bug ALTER column v SET storage plain;
+INSERT INTO varlena_bug VALUES ('x');
+\set filename :abs_builddir '/results/varlena_bug.dmp'
+COPY varlena_bug TO :'filename';
+COPY varlena_bug FROM :'filename';
+CREATE INDEX varlena_bug_idx on varlena_bug(v);
+SELECT bt_index_check('varlena_bug_idx', true);
you can simply replace
+\set filename :abs_builddir '/results/varlena_bug.dmp'
+COPY varlena_bug TO :'filename';
+COPY varlena_bug FROM :'filename';
with
COPY varlena_bug from stdin;
x
\.
In the comments, adding the postgres link
(https://postgr.es/m/[email protected])
would be great.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum
In-Reply-To: <CACJufxFZcOTrq-NpFs7wErSh2KX4KePD7MuiF6d_h4nD=OJJKA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox