aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-02-06 11:45:08 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-02-06 11:45:08 +0200
commitd02d985349cad066330786bd38e186a569415751 (patch)
treec0a4c07861b85c24184937a1818865e6aa110e39
parent181bdb90ba1f2361aec5a621c8f1e01736f8cad2 (diff)
downloadpostgresql-d02d985349cad066330786bd38e186a569415751.tar.gz
postgresql-d02d985349cad066330786bd38e186a569415751.zip
Fix typo in variable name.
Masahiko Sawada
-rw-r--r--src/backend/replication/logical/launcher.c8
1 files 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