doc: Clarify that logical decoding message LSN is the end LSN. The documentation described the LSN of a logical decoding message just as the WAL location of the message. That could be read as the start LSN of its WAL record, since other callbacks such as the change callback get the start LSN. But we pass the end LSN of the record to the message callback, and pgoutput sends it as is in the logical replication Message message.
Update the documentation of both the message callback and the protocol message to say so explicitly, so that authors of output plugins and logical replication clients don't confuse it with the start LSN. On master, commit 4255812efdbc changed transactional messages to use the start LSN and updated the documentation along with it, so this change is applied to the back branches only. Author: Atsushi Torikoshi <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 15 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e90a621030ecae20a1b92835f938b7000913e176 Modified Files -------------- doc/src/sgml/logicaldecoding.sgml | 8 ++++---- doc/src/sgml/protocol.sgml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
