Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7e8db2d

Browse files
committed
Minor corrections to logical decoding patch.
1 parent 7558cc9 commit 7e8db2d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/backend/replication/logical/logical.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* NOTES
1111
* This file coordinates interaction between the various modules that
12-
* together providethe logical decoding, primarily by providing so
12+
* together provide logical decoding, primarily by providing so
1313
* called LogicalDecodingContexts. The goal is to encapsulate most of the
1414
* internal complexity for consumers of logical decoding, so they can
1515
* create and consume a changestream with a low amount of code.

src/backend/replication/logical/logicalfuncs.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* logicalfuncs.c
44
*
5-
* Support functions for using logical decoding and managemnt of
5+
* Support functions for using logical decoding and management of
66
* logical replication slots via SQL.
77
*
88
*
@@ -400,7 +400,7 @@ pg_logical_slot_get_changes_guts(FunctionCallInfo fcinfo, bool confirm, bool bin
400400
ctx->options.output_type != OUTPUT_PLUGIN_TEXTUAL_OUTPUT)
401401
ereport(ERROR,
402402
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
403-
errmsg("output plugin cannot produce text output")));
403+
errmsg("output plugin cannot produce binary output")));
404404

405405
ctx->output_writer_private = p;
406406

src/include/utils/snapshot.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ typedef bool (*SnapshotSatisfiesFunc) (HeapTuple htup,
3636
* There are several different kinds of snapshots:
3737
* * Normal MVCC snapshots
3838
* * MVCC snapshots taken during recovery (in Hot-Standby mode)
39-
* * Historic MVCC snapshots used during logical decoding
39+
* * Historic MVCC snapshots used during logical decoding
4040
* * snapshots passed to HeapTupleSatisfiesDirty()
4141
* * snapshots used for SatisfiesAny, Toast, Self where no members are
4242
* accessed.

0 commit comments

Comments
 (0)