diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-07-19 14:15:44 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-07-19 14:15:44 -0400 |
commit | 1573995f55994ee04dd0d69481de17d662ad8e88 (patch) | |
tree | 4e6d3b8e298e3e0549a34abe53406540678cd6b0 /src/backend/replication/logical/logical.c | |
parent | 309765fa1e317597bfd341fa99dfa97ea5722890 (diff) | |
download | postgresql-1573995f55994ee04dd0d69481de17d662ad8e88.tar.gz postgresql-1573995f55994ee04dd0d69481de17d662ad8e88.zip |
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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c index c2d0e0c723f..3cd4eefb9bf 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, |