From 96bd49437cca5d7a6e4024c602a9fdbdbf7c7433 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 19 Jul 2018 14:15:44 -0400 Subject: Rewrite comments in replication slot advance implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Co-authored-by: Michaël Paquier Co-authored-by: Álvaro Herrera Reviewed-by: Petr Jelínek Discussion: https://postgr.es/m/87y3fgoyrn.fsf@ars-thinkpad --- src/backend/replication/logical/logical.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/backend/replication/logical/logical.c') 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, -- cgit v1.2.3