Re: Be strict when request to flush past end of WAL in WaitXLogInsertionsToFinish

From: Paul Kim <mok03127(at)gmail(dot)com>
To: x4mmm(at)yandex-team(dot)ru
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, bharath(dot)rupireddyforpostgres(at)gmail(dot)com, suryapoondla4(at)gmail(dot)com
Subject: Re: Be strict when request to flush past end of WAL in WaitXLogInsertionsToFinish
Date: 2026-12-02 07:59:00
Message-ID: 179619834099.34612.14430734280720019653@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Nov 15, 2026, Andrey Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
> Could we keep that value rather than reconstruct it later?
> [...]
> Perhaps, for backpatching, v8 is preferable because the change is smaller.

Agreed, it is the same value v8 recomputes, so v9 behaves the same and
reads better. I'd go with v9 for master and v8 for the back branches.

One thing: I'd keep the symptoms from the v8 commit message (the WAL
writer PANIC, the backup functions, pg_switch_wal() matching its docs).

Regards,
Paul Kim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-12-02 08:01:21 Re: [PATCH v2] Reuse slot helpers in pg_get_replication_slots and slot copy
Previous Message Chao Li 2026-12-02 07:52:36 Fix reversed slot types in copy_replication_slot() error messages