Re: PoC: Simplify recovery after dropping a table by LOGGING the restore LSN

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Дмитрий Лебедев <idemonlebedev(at)gmail(dot)com>
Cc: Kirill Reshke <reshkekirill(at)gmail(dot)com>, Kirk Wolak <wolakk(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: PoC: Simplify recovery after dropping a table by LOGGING the restore LSN
Date: 2025-12-10 09:53:02
Message-ID: 7EF67A9B-4D8C-4DFD-8FC5-286899A9C926@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 1 Dec 2025, at 12:11, Дмитрий Лебедев <idemonlebedev(at)gmail(dot)com> wrote:
>
> I've implemented an improved version of this feature that addresses
> Kirill's concern about logging the wrong LSN [1].

Cool! On a first glance patch looks good. I'll test it more later, for now I've fixed indentation and rebased on master to fix conflicts with recent "wait for LSN feature".

Please also avoid top posting :) Post answers below cited text. And do not post unrelevant citations at all. Mail archives a read more frequently than written.

Also, it's a good idea to number patch versions so reviewers can post feedback for some specific version. Here I used version number 5.

Thanks!

Best regards, Andrey Borodin.

Attachment Content-Type Size
v5-0001-Add-log_object_drops-GUC-for-DROP-TABLE-DATABASE-.patch application/octet-stream 34.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2025-12-10 10:02:47 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Previous Message Heikki Linnakangas 2025-12-10 09:51:35 Re: Small bugs regarding resowner handling in aio.c, catcache.c