mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 00:01:20 -04:00
Minor corrections to logical decoding patch.
This commit is contained in:
parent
7558cc95d3
commit
7e8db2dc42
@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This file coordinates interaction between the various modules that
|
* 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
|
* called LogicalDecodingContexts. The goal is to encapsulate most of the
|
||||||
* internal complexity for consumers of logical decoding, so they can
|
* internal complexity for consumers of logical decoding, so they can
|
||||||
* create and consume a changestream with a low amount of code.
|
* create and consume a changestream with a low amount of code.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
*
|
*
|
||||||
* logicalfuncs.c
|
* 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.
|
* 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)
|
ctx->options.output_type != OUTPUT_PLUGIN_TEXTUAL_OUTPUT)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
errmsg("output plugin cannot produce text output")));
|
errmsg("output plugin cannot produce binary output")));
|
||||||
|
|
||||||
ctx->output_writer_private = p;
|
ctx->output_writer_private = p;
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ typedef bool (*SnapshotSatisfiesFunc) (HeapTuple htup,
|
|||||||
* There are several different kinds of snapshots:
|
* There are several different kinds of snapshots:
|
||||||
* * Normal MVCC snapshots
|
* * Normal MVCC snapshots
|
||||||
* * MVCC snapshots taken during recovery (in Hot-Standby mode)
|
* * 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 passed to HeapTupleSatisfiesDirty()
|
||||||
* * snapshots used for SatisfiesAny, Toast, Self where no members are
|
* * snapshots used for SatisfiesAny, Toast, Self where no members are
|
||||||
* accessed.
|
* accessed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user