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 <[email protected]>
Co-authored-by: Michaël Paquier <[email protected]>
Co-authored-by: Álvaro Herrera <[email protected]>
Reviewed-by: Petr Jelínek <[email protected]>
Discussion: https://postgr.es/m/87y3fgoyrn.fsf@ars-thinkpad

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1573995f55994ee04dd0d69481de17d662ad8e88

Modified Files
--------------
src/backend/replication/logical/logical.c |  5 ++-
src/backend/replication/slotfuncs.c       | 72 ++++++++++++++++++++-----------
2 files changed, 50 insertions(+), 27 deletions(-)

Reply via email to