| From: | Oleg Tkachenko <oatkachenko(at)gmail(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(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: | 2025-12-16 21:55:02 |
| Message-ID: | A4159D9E-C980-4782-9B91-4B41410AE374@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello, Robert
I’ve created a small test that reproduces the issue. With the proposed fix applied, the test passes, and the reconstruction behaves as expected.
I’m attaching the test for review. Please let me know if this looks OK or if you would like it changed.
Regards,
Oleg

> On Dec 15, 2025, at 21:13, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> On Mon, Dec 15, 2025 at 1:46 PM Oleg Tkachenko <oatkachenko(at)gmail(dot)com> wrote:
>> Also, I’ve attached a patch based on your guidance. The changes are effectively the same as your suggested approach, but I would be happy to be listed as a contributor.
>
> You'll certain be listed as the reporter for this issue when a fix is
> committed. If you want to be listed as a co-author of the patch, I
> think it is fair to say that it will need to contain some code written
> by you. For example, maybe you would like to try writing a TAP test
> case that fails without this fix and passes with it.
>
> --
> Robert Haas
> EDB: http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mihail Nikalayeu | 2025-12-16 21:58:00 | Re: Revisiting {CREATE INDEX, REINDEX} CONCURRENTLY improvements |
| Previous Message | Tom Lane | 2025-12-16 21:49:44 | Re: [PATCH] Allow complex data for GUC extra. |