aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-03-04 11:07:54 -0500
committerRobert Haas <rhaas@postgresql.org>2014-03-04 11:07:54 -0500
commit7e8db2dc420099df3fa73987cf2d2d6d1a609d86 (patch)
tree2346bb382c9c152558d91a75c32302b6d3711035 /src
parent7558cc95d31edbf1437321d910562494071c5589 (diff)
downloadpostgresql-7e8db2dc420099df3fa73987cf2d2d6d1a609d86.tar.gz
postgresql-7e8db2dc420099df3fa73987cf2d2d6d1a609d86.zip
Minor corrections to logical decoding patch.
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/logical/logical.c2
-rw-r--r--src/backend/replication/logical/logicalfuncs.c4
-rw-r--r--src/include/utils/snapshot.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c
index 4fb0974f297..3c562383dff 100644
--- a/src/backend/replication/logical/logical.c
+++ b/src/backend/replication/logical/logical.c
@@ -9,7 +9,7 @@
*
* NOTES
* This file coordinates interaction between the various modules that
- * together providethe logical decoding, primarily by providing so
+ * together provide logical decoding, primarily by providing so
* called LogicalDecodingContexts. The goal is to encapsulate most of the
* internal complexity for consumers of logical decoding, so they can
* create and consume a changestream with a low amount of code.
diff --git a/src/backend/replication/logical/logicalfuncs.c b/src/backend/replication/logical/logicalfuncs.c
index 3b8ae3853ba..5fa1848001d 100644
--- a/src/backend/replication/logical/logicalfuncs.c
+++ b/src/backend/replication/logical/logicalfuncs.c
@@ -2,7 +2,7 @@
*
* logicalfuncs.c
*
- * Support functions for using logical decoding and managemnt of
+ * Support functions for using logical decoding and management of
* logical replication slots via SQL.
*
*
@@ -400,7 +400,7 @@ pg_logical_slot_get_changes_guts(FunctionCallInfo fcinfo, bool confirm, bool bin
ctx->options.output_type != OUTPUT_PLUGIN_TEXTUAL_OUTPUT)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("output plugin cannot produce text output")));
+ errmsg("output plugin cannot produce binary output")));
ctx->output_writer_private = p;
diff --git a/src/include/utils/snapshot.h b/src/include/utils/snapshot.h
index 4b256074b0b..8ee9285c55b 100644
--- a/src/include/utils/snapshot.h
+++ b/src/include/utils/snapshot.h
@@ -36,7 +36,7 @@ typedef bool (*SnapshotSatisfiesFunc) (HeapTuple htup,
* There are several different kinds of snapshots:
* * Normal MVCC snapshots
* * MVCC snapshots taken during recovery (in Hot-Standby mode)
- * * Historic MVCC snapshots used during logical decoding
+ * * Historic MVCC snapshots used during logical decoding
* * snapshots passed to HeapTupleSatisfiesDirty()
* * snapshots used for SatisfiesAny, Toast, Self where no members are
* accessed.