Convert SLRUs to use the new shmem allocation functions

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 2e0943a8597e1eeaec184465ba8b1f2f453a69e0
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-04-05T23:13:02Z
Convert SLRUs to use the new shmem allocation functions

I replaced the old SimpleLruInit() function without a backwards
compatibility wrapper, because few extensions define their own SLRUs.

Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail.com

Files

Discussion