mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
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
This commit is contained in:
@@ -626,7 +626,7 @@ GetOldestUnsummarizedLSN(TimeLineID *tli, bool *lsn_is_exact)
|
||||
}
|
||||
|
||||
/*
|
||||
* Attempt to set the WAL summarizer's latch.
|
||||
* Wake up the WAL summarizer process.
|
||||
*
|
||||
* This might not work, because there's no guarantee that the WAL summarizer
|
||||
* process was successfully started, and it also might have started but
|
||||
@@ -634,7 +634,7 @@ GetOldestUnsummarizedLSN(TimeLineID *tli, bool *lsn_is_exact)
|
||||
* latch set, but there's no guarantee.
|
||||
*/
|
||||
void
|
||||
SetWalSummarizerLatch(void)
|
||||
WakeupWalSummarizer(void)
|
||||
{
|
||||
ProcNumber pgprocno;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user