aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/logical.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-03-12 14:03:09 -0400
committerRobert Haas <rhaas@postgresql.org>2014-03-12 14:03:09 -0400
commit890194f14d6ff6838d79215b8ba62786185aa9a2 (patch)
tree4b013f8e96593b2724ba2476c294bc700b3b450d /src/backend/replication/logical/logical.c
parentc5608ea26a1f51998ad3cf987c3f0bda643c87a8 (diff)
downloadpostgresql-890194f14d6ff6838d79215b8ba62786185aa9a2.tar.gz
postgresql-890194f14d6ff6838d79215b8ba62786185aa9a2.zip
Comment fixes related to logical decoding.
Andres Freund, per complaints by Peter Eisentraut.
Diffstat (limited to 'src/backend/replication/logical/logical.c')
-rw-r--r--src/backend/replication/logical/logical.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c
index 13a22d4b2d2..04e407afd2f 100644
--- a/src/backend/replication/logical/logical.c
+++ b/src/backend/replication/logical/logical.c
@@ -12,14 +12,17 @@
* 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.
+ * create and consume a changestream with a low amount of code. Builtin
+ * consumers are the walsender and SQL SRF interface, but it's possible to
+ * add further ones without changing core code, e.g. to consume changes in
+ * a bgworker.
*
* The idea is that a consumer provides three callbacks, one to read WAL,
* one to prepare a data write, and a final one for actually writing since
* their implementation depends on the type of consumer. Check
- * logicalfunc.c for an example implementations of a fairly simple consumer
+ * logicalfuncs.c for an example implementation of a fairly simple consumer
* and a implementation of a WAL reading callback that's suitable for
- * simpler consumers.
+ * simple consumers.
*-------------------------------------------------------------------------
*/