Re: BUG #19613: pg_restore: several SEGVs in ReadToc() in pg_backup_archiver.c

From: Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, ilia(dot)kashintsev(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #19613: pg_restore: several SEGVs in ReadToc() in pg_backup_archiver.c
Date: 2026-08-14 18:02:39
Message-ID: CAB8bMisyE-b7HfGiGUbFGHjnMwo4LdkBqnBuMqKRmPSaTdbi9w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

пт, 14 авг. 2026 г. в 21:33, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:

> The thing you would wish
> that a regression test could catch is adding a new TOC field that is
> effectively required while failing to use ReadRequiredStr for it.
>
> Hi, Tom!

I've been thinking about it. And writing a universal test that would catch
new fields is quite difficult.
The current one I wrote only catches ReadRequiredStr.
So I suggest taking the fix without a test.

--
Regards,
Rachitskiy Andrey

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrey Rachitskiy 2026-08-14 18:30:17 Re: BUG #19619: WHERE scale(n) = 1 pushed past GROUP BY / window PARTITION BY, wrong COUNT
Previous Message PG Bug reporting form 2026-08-14 17:41:02 BUG #19619: WHERE scale(n) = 1 pushed past GROUP BY / window PARTITION BY, wrong COUNT