Update outdated references to SLRU ControlLock

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Update outdated references to SLRU ControlLock
Date: 2025-09-01 03:32:41
Message-ID: aLUT2UO8RjJOzZNq@jrouhaud
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I just noticed that some references so the now removed SLRU ControlLock were
still present in slru.[ch]. I tried to improve the situation with the attached
patch by using the new "bank control lock" name that is used nearby.

Note that the main comment of slru.c still has one paragraph that mentions
"bank control lock" consistently before switching to just "control lock" in the
next paragraph. I'm assuming that it's ok in that context as it seems clear to
me that those are the same thing, just spelled with a less verbose name.

Attachment Content-Type Size
0001-Update-outdated-references-to-SLRU-ControlLock.patch text/plain 2.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2025-09-01 03:45:40 Re: Issue with logical replication slot during switchover
Previous Message Chao Li 2025-09-01 03:32:11 Re: allow benign typedef redefinitions (C11)