-- logicaldecoding.sgml:
1. A 'the the' typo fixed, and 'two phase commit' changed to 'two-phased commit' -- see attached, only for v14, I think.
2. Arrow-break: Sometimes, in the .PDF, words like 'ctx->out' happen to break off inside the '->' making it difficult to read. Is there a way to keep that arrow intact in the pdf output? I see it only one place (just below 'Functions for Producing Output') so it's not a big deal. I don't think it happens in the html output.
3. Inside this same file it says 'may it be' instead of 'be it'. Perhaps 'may it be' is correct too but it struck me as strange. Erik Rijkers
--- doc/src/sgml/logicaldecoding.sgml.orig 2021-06-05 10:55:23.371856767 +0200 +++ doc/src/sgml/logicaldecoding.sgml 2021-06-05 11:48:58.322224628 +0200 @@ -1125,7 +1125,7 @@ When streaming an in-progress transaction, the changes (and messages) are streamed in blocks demarcated by <function>stream_start_cb</function> and <function>stream_stop_cb</function> callbacks. Once all the decoded - changes are transmitted, the transaction can be committed using the + changes are transmitted, the transaction can be committed using the <function>stream_commit_cb</function> callback (or possibly aborted using the <function>stream_abort_cb</function> callback). If two-phase commits are supported, the transaction can be prepared using the @@ -1222,7 +1222,7 @@ </para> <para> - When a prepared transaction is rolled back using the + When a prepared transaction is rolled back using <command>ROLLBACK PREPARED</command>, then the <function>rollback_prepared_cb</function> callback is invoked and when the prepared transaction is committed using <command>COMMIT PREPARED</command>, @@ -1251,7 +1251,7 @@ <listitem> <para> - The logical replication solution that builds distributed two phase commit + The logical replication solution that builds distributed two-phase commit using this feature can deadlock if the prepared transaction has locked [user] catalog tables exclusively. They need to inform users to not have locks on catalog tables (via explicit <command>LOCK</command> command) in