Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCglJ-0005hY-Er for pgsql-docs@arkaria.postgresql.org; Mon, 31 Aug 2020 10:10:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kCglI-0003He-Dn for pgsql-docs@arkaria.postgresql.org; Mon, 31 Aug 2020 10:10:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCglI-0003HW-7j for pgsql-docs@lists.postgresql.org; Mon, 31 Aug 2020 10:10:04 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCglD-0007cA-E5 for pgsql-docs@lists.postgresql.org; Mon, 31 Aug 2020 10:10:02 +0000 Received: from [192.168.178.43] ([77.189.66.169]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPSA (Nemesis) id 1N6Kl7-1kfOqV0Vth-016cYm for ; Mon, 31 Aug 2020 12:09:58 +0200 Subject: Re: initdb - creating clusters To: pgsql-docs@lists.postgresql.org References: <159430831443.16535.11360317280100947016@wrigleys.postgresql.org> <20200721002503.GA4065@momjian.us> <508F1D03-F896-4436-92B0-B9EA633BD1AE@yesql.se> <20200722163437.GA14522@momjian.us> <3793995.1598800896@sss.pgh.pa.us> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Message-ID: Date: Mon, 31 Aug 2020 12:09:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <3793995.1598800896@sss.pgh.pa.us> Content-Type: multipart/mixed; boundary="------------18B0EE281E374EF470BC13EE" Content-Language: en-US X-Provags-ID: V03:K1:smDa2xfMQ2bmnrKQ/XZnRQNyue6rhDjyUlEHNikYBJkkZi6LQrt 2kG26i32Ib6HYEdza4tmb0ltl5BO3okFTToTKVaiXE1sI9i7jO17IhCqaICgIf1MZJP6CK6 /EMTMlmRawwR1PuSESoYjQmIyH6y3oo5WozKASJtS3AeIxnD9J4Zx1gwRUTyVVQopfjzasK D4WfjEZ3QU6A9rRPV+QtQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:p2q3YD4XZi4=:Kq+t5UIJfaJ/+HftQQTJiv BVnheiYu5Y4vzucbszAGnZE2V3W5L9yY72b5KQQ3hyLp3YNKockZwbfMHflsMqkpaEYucct5v uSpXKjGDFTjttGye6Yv2DUYsysNjXEFwCyzkn0HhdZ4bnA/5ZtXubUXko7v42lzv7mWQtM8TQ lRtpRXyRleGUV9UQtxzneualQkOpPVOV8wRaiDMrnWb1jsajyDZWn8e/XBY3abNc5l9UsZJij UEBm6sH5SR/zm4mffvXpreYrrPMIr+dmLrQ/KV4IXcyLX4ZKJQhOol/5fZx8/ZhXT3yR1r+xF TOXmbiygNS5ga8RMpXWLq7uhCZWFQwB1WJdgRND/99fatPs1fN4tsTjO3MTk3s5zXKKtjhvUe vnGx9SC/IEIdtnusRNhJgfLTS8iTqzJxHRA1h+0FcwOPski6BQreQzuz1GQc/TUovDNxxy4aj eXNvfCQdnx6d2pBWXTdmqnwCBh2dXzoc4s28ht7mljOha9GjBFBCn6MSdocFCRmlsDRoNzNsN B29KDIuJbH0QH6V7kUi4z1AGZ9fDvahpDeO8b35LtFt+9d2QlWD2mXUxD5AXxrLtk6oKzmRIN 0kvHrnzcXmDR2IisE4oU3ae5ZzYG0HyPkU0m6uOpIaZlWYEg7+PRs3ISToB98R4BO47jeQYhf Df+yKGBa5tQOxi5AmYgKwrKUP7R/hnxN7PVV8+KRLrjItB8gE5siz7arFsVRSdq2fuwh28iCY wvtHXXx/4RbUenFwaYXAf81ZEzIPFqaAJ0+MD/7tNAVUDr82XLpdJZ3RiophexjnSD8pe1zey KQCsbBG5S0td6WOsktxelVQqqzBWsdIRIF98vyQaRnzo4b0dX1lkYewM9kwwz/5HEhfOpjg List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------18B0EE281E374EF470BC13EE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 30.08.20 17:21, Tom Lane wrote: > Do you have a feeling one way or the other about whether to repeat > some of this text in each of the relevant sub-sections? I initially > didn't want to do that, but thinking about how people consume the > HTML docs, I'm afraid that anything not appearing on the same page > won't get seen. If we do so but avoid redundant text parts, we can use the entity mechanism or the more modern XInclude mechanism. The attached patch uses both techniques in an example file: brin.sgml includes lorem.sgml two times. (In both cases we should avoid files with multiple root elements, eg. multiple or without a parent element, because this would violate the well-formed-ness of the included XML document.) -- J. Purtz --------------18B0EE281E374EF470BC13EE Content-Type: text/x-patch; charset=UTF-8; name="0001-lorem.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-lorem.patch" diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 0401a515df..562f607190 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -132,8 +132,8 @@ endif html: html-stamp html-stamp: stylesheet.xsl postgres.sgml $(ALLSGML) $(ALL_IMAGES) - $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) - $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $(wordlist 1,2,$^) + $(XMLLINT) $(XMLINCLUDE) --noout --xinclude --postvalid --noent $(word 2,$^) + $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --xinclude $(XSLTPROC_HTML_FLAGS) $(wordlist 1,2,$^) cp $(ALL_IMAGES) html/ cp $(srcdir)/stylesheet.css html/ touch $@ @@ -167,12 +167,12 @@ postgres.pdf: XSLTPROC_FO_FLAGS += --stringparam img.src.path '$(srcdir)/' %-A4.fo: stylesheet-fo.xsl %.sgml $(ALLSGML) - $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) - $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_FO_FLAGS) --stringparam paper.type A4 -o $@ $(wordlist 1,2,$^) + $(XMLLINT) $(XMLINCLUDE) --noout --xinclude --postvalid --noent $(word 2,$^) + $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --xinclude $(XSLTPROC_FO_FLAGS) --stringparam paper.type A4 -o $@ $(wordlist 1,2,$^) %-US.fo: stylesheet-fo.xsl %.sgml $(ALLSGML) - $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) - $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_FO_FLAGS) --stringparam paper.type USletter -o $@ $(wordlist 1,2,$^) + $(XMLLINT) $(XMLINCLUDE) --noout --xinclude --postvalid --noent $(word 2,$^) + $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --xinclude $(XSLTPROC_FO_FLAGS) --stringparam paper.type USletter -o $@ $(wordlist 1,2,$^) %.pdf: %.fo $(ALL_IMAGES) $(FOP) -fo $< -pdf $@ diff --git a/doc/src/sgml/brin.sgml b/doc/src/sgml/brin.sgml index 4420794e5b..ac5ef96173 100644 --- a/doc/src/sgml/brin.sgml +++ b/doc/src/sgml/brin.sgml @@ -11,6 +11,13 @@ Introduction + + via entity mechanism: + &lorem; + + via xinclude mechanism: + + BRIN stands for Block Range Index. BRIN is designed for handling very large tables diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml index 64b5da0070..2e42197844 100644 --- a/doc/src/sgml/filelist.sgml +++ b/doc/src/sgml/filelist.sgml @@ -182,3 +182,5 @@ + + diff --git a/doc/src/sgml/lorem.sgml b/doc/src/sgml/lorem.sgml new file mode 100644 index 0000000000..ffb557bf22 --- /dev/null +++ b/doc/src/sgml/lorem.sgml @@ -0,0 +1,5 @@ + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed + do eiusmod tempor incididunt ut labore et dolore magna aliqua. + An arbitrary xref-link: + --------------18B0EE281E374EF470BC13EE--