pgsql: Delay checkpoint start while creating a multixact

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Delay checkpoint start while creating a multixact
Date: 2026-11-03 00:11:26
Message-ID: E1xO27a-00000001rhf-2LHE@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Delay checkpoint start while creating a multixact

A checkpoint starting between the CREATE_ID record and the SLRU update
could lose the multixact after a crash.

Author: shihao zhong <zhong950419(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CAGRkXqSuiJ_X4+Z6rsD42pcuACnD9PhoQ-Os+mUJNmJarBWkNg@mail.gmail.com
Backpatch-through: 14

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4022edb93330b95c7d910ca5951a6f8f7f9015c8

Modified Files
--------------
src/backend/access/transam/multixact.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Richard Guo 2026-11-03 00:52:30 pgsql: Make Memoize cache keys only of Params from outer query levels
Previous Message Masahiko Sawada 2026-11-02 23:01:26 pgsql: Add REPACK progress phases for logical decoding setup.