diff --git a/src/backend/replication/logical/launcher.c b/src/backend/replication/logical/launcher.c index e9ce061e83cab31498942863d37309f9fd1a2d6a..39530f96a3fc60e2e417d00ab7f98c2a991ec5cc 100644 --- a/src/backend/replication/logical/launcher.c +++ b/src/backend/replication/logical/launcher.c @@ -73,7 +73,7 @@ static void logicalrep_worker_onexit(int code, Datum arg); static void logicalrep_worker_detach(void); bool got_SIGTERM = false; -static bool on_commit_laucher_wakeup = false; +static bool on_commit_launcher_wakeup = false; Datum pg_stat_get_subscription(PG_FUNCTION_ARGS); @@ -526,7 +526,7 @@ ApplyLauncherShmemInit(void) void AtCommit_ApplyLauncher(void) { - if (on_commit_laucher_wakeup) + if (on_commit_launcher_wakeup) ApplyLauncherWakeup(); } @@ -540,8 +540,8 @@ AtCommit_ApplyLauncher(void) void ApplyLauncherWakeupAtCommit(void) { - if (!on_commit_laucher_wakeup) - on_commit_laucher_wakeup = true; + if (!on_commit_launcher_wakeup) + on_commit_launcher_wakeup = true; } void