diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-03-04 17:37:47 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-03-04 17:37:47 +0100 |
commit | f9baaf96d3395c3afc2c558fb74279c4923ddb24 (patch) | |
tree | 00c4036a1f6c9a5d7fbf3efbbb4a74d15b4a99ba /src/tutorial/basics.source | |
parent | c8a61e350db40f81e088f2333fd30cc7f96a8b35 (diff) | |
download | postgresql-f9baaf96d3395c3afc2c558fb74279c4923ddb24.tar.gz postgresql-f9baaf96d3395c3afc2c558fb74279c4923ddb24.zip |
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/basics.source')
0 files changed, 0 insertions, 0 deletions