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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy