aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogwait.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-11-01 13:47:24 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-11-01 13:47:24 +0200
commit368d8270c838a6c328fc24418603cb172b5e0390 (patch)
treeb2c2f7ccfcd76cf12022aac1e7df376fe94dfe54 /src/backend/access/transam/xlogwait.c
parenta9c546a5a3783810a1b665f246fc6d0a596d0606 (diff)
downloadpostgresql-368d8270c838a6c328fc24418603cb172b5e0390.tar.gz
postgresql-368d8270c838a6c328fc24418603cb172b5e0390.zip
Rename two functions that wake up other processes
Instead of talking about setting latches, which is a pretty low-level mechanism, emphasize that they wake up other processes. This is in preparation for replacing Latches with a new abstraction. That's still work in progress, but this seems a little tidier anyway, so let's get this refactoring out of the way already. Discussion: https://www.postgresql.org/message-id/391abe21-413e-4d91-a650-b663af49500c%40iki.fi
Diffstat (limited to 'src/backend/access/transam/xlogwait.c')
-rw-r--r--src/backend/access/transam/xlogwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlogwait.c b/src/backend/access/transam/xlogwait.c
index 9b8c2ae794f..4c489e4cea3 100644
--- a/src/backend/access/transam/xlogwait.c
+++ b/src/backend/access/transam/xlogwait.c
@@ -151,7 +151,7 @@ deleteLSNWaiter(void)
* and set latches for all waiters.
*/
void
-WaitLSNSetLatches(XLogRecPtr currentLSN)
+WaitLSNWakeup(XLogRecPtr currentLSN)
{
int i;
ProcNumber *wakeUpProcs;