Re: Persist injection points across server restarts

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Maksim(dot)Melnikov" <m(dot)melnikov(at)postgrespro(dot)ru>
Subject: Re: Persist injection points across server restarts
Date: 2025-04-30 05:52:51
Message-ID: CF36A447-E1E1-4192-B49E-599DBC05EAFC@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 30 Apr 2025, at 10:35, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> - A flush is used to write the points' data to disk.

Interesting functionality.
Did you consider custom resource manager to WAL-log injection points? This way we do not need to flush them explicitly, they always will be persistent.
Though they will appear on standby, which is, probably, not expected functionality...

Best regards, Andrey Borodin.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2025-04-30 07:13:28 Re: Typo in multixact.c and jsonfuncs.c documentation
Previous Message Tom Lane 2025-04-30 05:52:13 Re: Add an option to skip loading missing publication to avoid logical replication failure