aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2016-12-17 14:33:26 +0100
committerMagnus Hagander <magnus@hagander.net>2016-12-17 14:33:26 +0100
commit01776a07b3fe48ad48b0d9194301438399dfe597 (patch)
tree731cb0a5208352bdad3d01d934532286a0a4d201 /src
parent591ccb66d24258f6d1084343b3c33c96e3e2b36d (diff)
downloadpostgresql-01776a07b3fe48ad48b0d9194301438399dfe597.tar.gz
postgresql-01776a07b3fe48ad48b0d9194301438399dfe597.zip
Fix typos in comments
Michael Paquier
Diffstat (limited to 'src')
-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 1f1c56cc21f..5387608ba0c 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 b14d82153af..d80bcc00a13 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