From d02d985349cad066330786bd38e186a569415751 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas <heikki.linnakangas@iki.fi> Date: Mon, 6 Feb 2017 11:45:08 +0200 Subject: [PATCH] Fix typo in variable name. Masahiko Sawada --- src/backend/replication/logical/launcher.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/replication/logical/launcher.c b/src/backend/replication/logical/launcher.c index e9ce061e83c..39530f96a3f 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 -- GitLab