summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2016-12-17 13:33:26 +0000
committerMagnus Hagander2016-12-17 13:33:26 +0000
commit01776a07b3fe48ad48b0d9194301438399dfe597 (patch)
tree731cb0a5208352bdad3d01d934532286a0a4d201
parent591ccb66d24258f6d1084343b3c33c96e3e2b36d (diff)
Fix typos in comments
Michael Paquier
-rw-r--r--src/backend/replication/slotfuncs.c2
-rw-r--r--src/backend/replication/walsender.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/slotfuncs.c b/src/backend/replication/slotfuncs.c
index 1f1c56cc21..5387608ba0 100644
--- a/src/backend/replication/slotfuncs.c
+++ b/src/backend/replication/slotfuncs.c
@@ -119,7 +119,7 @@ pg_create_logical_replication_slot(PG_FUNCTION_ARGS)
/*
* Acquire a logical decoding slot, this will check for conflicting names.
- * Initially create persisent slot as ephemeral - that allows us to nicely
+ * Initially create persistent slot as ephemeral - that allows us to nicely
* handle errors during initialization because it'll get dropped if this
* transaction fails. We'll make it persistent at the end.
* Temporary slots can be created as temporary from beginning as they get
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index b14d82153a..d80bcc00a1 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -806,7 +806,7 @@ CreateReplicationSlot(CreateReplicationSlotCmd *cmd)
CheckLogicalDecodingRequirements();
/*
- * Initially create persisent slot as ephemeral - that allows us to
+ * Initially create persistent slot as ephemeral - that allows us to
* nicely handle errors during initialization because it'll get
* dropped if this transaction fails. We'll make it persistent at the
* end. Temporary slots can be created as temporary from beginning as