diff options
author | Alvaro Herrera | 2024-03-04 16:37:47 +0000 |
---|---|---|
committer | Alvaro Herrera | 2024-03-04 16:37:47 +0000 |
commit | f9baaf96d3395c3afc2c558fb74279c4923ddb24 (patch) | |
tree | 00c4036a1f6c9a5d7fbf3efbbb4a74d15b4a99ba /src/tutorial | |
parent | c8a61e350db40f81e088f2333fd30cc7f96a8b35 (diff) |
Simplify coding in slru.c
New code in 53c2a97a9266 uses direct array access to
shared->bank_locks[bankno].lock which can be made a little bit more
legible by using the SimpleLruGetBankLock helper function.
Nothing terribly serious, but let's add some clarity.
Discussion: https://postgr.es/m/202403041517.3a35jw53os65@alvherre.pgsql
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions