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 b33d8a2b0343ecda6f7ccb5748a19155793c87bd.camel@j-davis.com
Whole thread Raw
In response to Re: Proposal to add page headers to SLRU pages  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On Fri, 2024-03-08 at 12:39 -0800, Jeff Davis wrote:
> Making a better secondary structure seems doable to me. Just to
> brainstorm:

We can also keep the group_lsns, and then just update both the CLOG
page LSN and the group_lsn when setting the transaction status. The
former would be used for all of the normal WAL-related stuff, and the
latter would be used by TransactionIdGetStatus() to return the more
precise LSN for that group.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Failures in constraints regression test, "read only 0 of 8192 bytes"
Next
From: Jeff Davis
Date:
Subject: Re: Proposal to add page headers to SLRU pages