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

From: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
To: Michael Zhilin <m(dot)zhilin(at)postgrespro(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org, y sokolov <y(dot)sokolov(at)postgrespro(dot)ru>, Alexander Lakhin <exclusion(at)gmail(dot)com>
Subject: Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum
Date: 2024-01-07 18:33:56
Message-ID: 2570ACF2-F1B8-49F2-BA06-7AF9F807BDA6@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 7 Jan 2024, at 23:04, Andrey M. Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
>
> I see that using a temp file in PG_ABS_SRCDIR is common approach. But still I want to ask, maybe can we develop some clever way to reproduce the bug without external file?

BTW this stuff is causing problems in CFbot [0,1]
COPY varlena_bug TO :'filename';
+ERROR: could not open file "/tmp/cirrus-ci-build/contrib/amcheck/results/varlena_bug.dmp" for writing: No such file or directory
+HINT: COPY TO instructs the PostgreSQL server process to write a file. You may want a client-side facility such as psql's \copy.

Best regards, Andrey Borodin.

[0] https://api.cirrus-ci.com/v1/artifact/task/4880592609738752/testrun/build/testrun/amcheck/regress/regression.diffs
[1] https://github.com/x4m/postgres_g/runs/20240081462

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexander Lakhin 2024-01-07 19:00:00 Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum
Previous Message Tom Lane 2024-01-07 18:18:49 Re: BUG #18274: Error 'invalid XML content'