pgsql: Prevent excess SimpleLruTruncate() deletion.

2021-01-16 Thread Noah Misch
Prevent excess SimpleLruTruncate() deletion. Every core SLRU wraps around. With the exception of pg_notify, the wrap point can fall in the middle of a page. Account for this in the PagePrecedes callback specification and in SimpleLruTruncate()'s use of said callback. Update each callback implem

pgsql: Prevent excess SimpleLruTruncate() deletion.

2021-01-16 Thread Noah Misch
Prevent excess SimpleLruTruncate() deletion. Every core SLRU wraps around. With the exception of pg_notify, the wrap point can fall in the middle of a page. Account for this in the PagePrecedes callback specification and in SimpleLruTruncate()'s use of said callback. Update each callback implem

pgsql: Prevent excess SimpleLruTruncate() deletion.

2021-01-16 Thread Noah Misch
Prevent excess SimpleLruTruncate() deletion. Every core SLRU wraps around. With the exception of pg_notify, the wrap point can fall in the middle of a page. Account for this in the PagePrecedes callback specification and in SimpleLruTruncate()'s use of said callback. Update each callback implem

pgsql: Prevent excess SimpleLruTruncate() deletion.

2021-01-16 Thread Noah Misch
Prevent excess SimpleLruTruncate() deletion. Every core SLRU wraps around. With the exception of pg_notify, the wrap point can fall in the middle of a page. Account for this in the PagePrecedes callback specification and in SimpleLruTruncate()'s use of said callback. Update each callback implem

pgsql: Prevent excess SimpleLruTruncate() deletion.

2021-01-16 Thread Noah Misch
Prevent excess SimpleLruTruncate() deletion. Every core SLRU wraps around. With the exception of pg_notify, the wrap point can fall in the middle of a page. Account for this in the PagePrecedes callback specification and in SimpleLruTruncate()'s use of said callback. Update each callback implem

pgsql: Prevent excess SimpleLruTruncate() deletion.

2021-01-16 Thread Noah Misch
Prevent excess SimpleLruTruncate() deletion. Every core SLRU wraps around. With the exception of pg_notify, the wrap point can fall in the middle of a page. Account for this in the PagePrecedes callback specification and in SimpleLruTruncate()'s use of said callback. Update each callback implem

pgsql: Prevent excess SimpleLruTruncate() deletion.

2021-01-16 Thread Noah Misch
Prevent excess SimpleLruTruncate() deletion. Every core SLRU wraps around. With the exception of pg_notify, the wrap point can fall in the middle of a page. Account for this in the PagePrecedes callback specification and in SimpleLruTruncate()'s use of said callback. Update each callback implem