Skip to content

Commit d02d985

Browse files
committed
Fix typo in variable name.
Masahiko Sawada
1 parent 181bdb9 commit d02d985

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/replication/logical/launcher.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void logicalrep_worker_onexit(int code, Datum arg);
7373
static void logicalrep_worker_detach(void);
7474

7575
bool got_SIGTERM = false;
76-
static bool on_commit_laucher_wakeup = false;
76+
static bool on_commit_launcher_wakeup = false;
7777

7878
Datum pg_stat_get_subscription(PG_FUNCTION_ARGS);
7979

@@ -526,7 +526,7 @@ ApplyLauncherShmemInit(void)
526526
void
527527
AtCommit_ApplyLauncher(void)
528528
{
529-
if (on_commit_laucher_wakeup)
529+
if (on_commit_launcher_wakeup)
530530
ApplyLauncherWakeup();
531531
}
532532

@@ -540,8 +540,8 @@ AtCommit_ApplyLauncher(void)
540540
void
541541
ApplyLauncherWakeupAtCommit(void)
542542
{
543-
if (!on_commit_laucher_wakeup)
544-
on_commit_laucher_wakeup = true;
543+
if (!on_commit_launcher_wakeup)
544+
on_commit_launcher_wakeup = true;
545545
}
546546

547547
void

0 commit comments

Comments
 (0)