moving LastWrittenLSNCache to Neon Extension (#11031)

## 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: https://github.com/neondatabase/postgres/pull/590

Closes: https://github.com/neondatabase/neon/issues/10973

---------

Co-authored-by: Tristan Partin <tristan@neon.tech>
This commit is contained in:
Suhas Thalanki
2025-03-19 13:29:40 -04:00
committed by GitHub
parent 019a29748d
commit 5589efb6de
15 changed files with 586 additions and 61 deletions

View File

@@ -1,18 +1,18 @@
{
"v17": [
"17.4",
"e5e87b9f52d0eaeb83f3e2517bb9727aac37729b"
"22533c63fc42cdc1dbe138650ba1eca10a70c5d7"
],
"v16": [
"16.8",
"512856aaa8bedbaa8f06811449518dcb0c2e5d8f"
"473f68210d52ff8508f71c15b0c77c01296f4ace"
],
"v15": [
"15.12",
"ee794ba767eef9b10260ef67d3a58084f1dabd6f"
"6cea02e23caa950d5f06932491a91b6af8f54360"
],
"v14": [
"14.17",
"7b7592e74059f795b64f06860cea97673418f35e"
"35bc1b0cba55680e3b37abce4e67a46bb15f3315"
]
}