Skip to content

Conversation

@thesuhas
Copy link

Removing the LastWrittenLSN code from Postgres v17 as part of moving it into the neon extension to reduce code duplication.

Part of: neondatabase/neon#10973

@thesuhas thesuhas marked this pull request as ready for review February 28, 2025 22:51
@thesuhas thesuhas force-pushed the move_lwlsn_neon_ext branch from 5182ec3 to af7e7e9 Compare February 28, 2025 22:51
@MMeent
Copy link
Contributor

MMeent commented Mar 17, 2025

Please squash and rebase the commits before merging.

@thesuhas thesuhas merged commit 22533c6 into REL_17_STABLE_neon Mar 18, 2025
1 check passed
@thesuhas thesuhas deleted the move_lwlsn_neon_ext branch March 18, 2025 23:08
github-merge-queue bot pushed a commit to neondatabase/neon that referenced this pull request Mar 19, 2025
## Problem

We currently have this code duplicated across different PG versions.
Moving this to an extension would reduce duplication and simplify
maintenance.

## Summary of changes

Moving the LastWrittenLSN code from PG versions to the Neon extension
and linking it with hooks.

Related Postgres PR: neondatabase/postgres#590

Closes: #10973

---------

Co-authored-by: Tristan Partin <tristan@neon.tech>
lubennikovaav pushed a commit that referenced this pull request May 9, 2025
… - v17 (#590)

moved lwlsn cache to the neon extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improvement: Move the last written LSN (LwLSN) cache into neon extension

4 participants