Re: Proposal to add page headers to SLRU pages - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Proposal to add page headers to SLRU pages
Date
Msg-id 3ee88744547f6865fe2f48b2b6f058a50796cb91.camel@j-davis.com
Whole thread Raw
In response to Re: Proposal to add page headers to SLRU pages  ("Li, Yong" <yoli@ebay.com>)
Responses Re: Proposal to add page headers to SLRU pages
List pgsql-hackers
On Wed, 2024-03-06 at 12:01 +0000, Li, Yong wrote:
> Rebase the patch against the latest HEAD.

The upgrade logic could use more comments explaining what's going on
and why. As I understand it, it's a one-time conversion that needs to
happen between 16 and 17. Is that right?

Was the way CLOG is upgraded already decided in some earlier
discussion?

Given that the CLOG is append-only and gets truncated occasionally, I
wonder whether we can just have some marker that xids before some
number are the old CLOG, and xids beyond that number are in the new
CLOG. I'm not necessarily suggesting that; just an idea.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Proposal to add page headers to SLRU pages
Next
From: Melanie Plageman
Date:
Subject: Re: Streaming read-ready sequential scan code