Re: [BUG] [PATCH] pg_basebackup produces wrong incremental files after relation truncation in segmented tables

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Oleg Tkachenko <oatkachenko(at)gmail(dot)com>
Cc: Amul Sul <sulamul(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Stanislav Bashkyrtsev <stanislav(dot)bashkyrtsev(at)elsci(dot)io>
Subject: Re: [BUG] [PATCH] pg_basebackup produces wrong incremental files after relation truncation in segmented tables
Date: 2026-01-19 17:42:52
Message-ID: CA+TgmoZ_zLO7ROr1KQZ1znqLg3+uL16wc2S01r6UtcwUiHm+_Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 16, 2026 at 7:10 AM Oleg Tkachenko <oatkachenko(at)gmail(dot)com> wrote:
> As you suggested, I've updated the test so that it produces small files consistently across platforms.
> On one specific platform (with segment size = 6 blocks), it still exercises the relevant code path.
> And I've also applied the style changes you mentioned.

Thanks. I have committed the fix and back-patched to v17. I made some
style changes to your test, especially rewriting comments, but the
substance of it is unchanged.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2026-01-19 17:43:44 Re: SQL:2011 Application Time Update & Delete
Previous Message Rahila Syed 2026-01-19 17:31:17 Re: Enhancing Memory Context Statistics Reporting