summaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/logical.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-07-19 14:15:44 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-07-19 14:15:44 -0400
commit96bd49437cca5d7a6e4024c602a9fdbdbf7c7433 (patch)
tree524a7fc417a28f52bef6e17b7866052f360fa24c /src/backend/replication/logical/logical.c
parentdc961e5822343c8b22371a78ded4d6263418de61 (diff)
Rewrite comments in replication slot advance implementation
The code added by 9c7d06d60680 was a bit obscure; clarify that by rewriting the comments. Lack of clarity has already caused bugs, so it's a worthy goal. Co-authored-by: Arseny Sher <a.sher@postgrespro.ru> Co-authored-by: Michaël Paquier <michael@paquier.xyz> Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org> Reviewed-by: Petr Jelínek <petr.jelinek@2ndquadrant.com> Discussion: https://postgr.es/m/87y3fgoyrn.fsf@ars-thinkpad
Diffstat (limited to 'src/backend/replication/logical/logical.c')
-rw-r--r--src/backend/replication/logical/logical.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c
index 61588d626f6..c9bbdcda74d 100644
--- a/src/backend/replication/logical/logical.c
+++ b/src/backend/replication/logical/logical.c
@@ -338,7 +338,10 @@ CreateInitDecodingContext(char *plugin,
* that, see below).
*
* output_plugin_options
- * contains options passed to the output plugin.
+ * options passed to the output plugin.
+ *
+ * fast_forward
+ * bypass the generation of logical changes.
*
* read_page, prepare_write, do_write, update_progress
* callbacks that have to be filled to perform the use-case dependent,