Doc: Make logical replication examples executable in bulk.
authorAmit Kapila <akapila@postgresql.org>
Mon, 26 May 2025 05:35:05 +0000 (11:05 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 26 May 2025 05:35:05 +0000 (11:05 +0530)
commit3bcb554fd2154d2d9b25e942970163e581d0d5fc
treea190215149b56cd6479d26c64a8f3f692fc20940
parent47d90b741d097f2881b258de3aedcef2876b3f17
Doc: Make logical replication examples executable in bulk.

To improve the usability of logical replication examples, we need to
enable bulk copy-pasting of DML/DDL series.

Currently, output command tags and prompts disrupt this workflow. While
prompts are typically removed, converting them to comments is acceptable
here, given the multi-server context.

Additionally, ensure all examples containing operators like < and > are
wrapped in CDATA blocks to guarantee correct rendering and consistency
with other places.

Author: David G. Johnston <david.g.johnston@gmail.com>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Discussion: https://postgr.es/m/CAKFQuwbhbL1uaDTuo9shmo1rA-fX6XGotR7qZQ7rd-ia5ZDoQA@mail.gmail.com
doc/src/sgml/logical-replication.sgml