> On 5 Mar 2026, at 19:53, Marcos Pegoraro <[email protected]> wrote:
> 
> Yesterday, Michael Paquier submitted this correction:
> Revert "Change the default value of default_toast_compression to "lz4""
> which is in the installation.sgml has:
>          Build with <productname>LZ4</productname> compression support.
> But other SGML files on that commit are all using literal tag.
> So I thought, LZ4 is not a product name, so where else is this tag used ?
> And that tag is used for Kerberos, Zstandard, GSSAPI, SSPI, Windows, Oracle 
> and others. So, there are company names, programs, protocols, utilities and 
> others.

The DocBook manual is the main source for truth about when to use the various
tags, <productname> is documented in [1].  So Oracle is clearly a productname
if it refers to the database and not the company, but Windows should probably
use <systemitem class="osname"> [1] instead.  Whether or not LZ4 is a product
name feels harder to define, but it doesn't seem entirely wrong, especially not
for the installation docs.

Mind you, we aren't using the tagging exactly according to the specification so
appropriate levels of salt should be applied, for example <application> is
meant to be used for larger software packages whereas we apply it pg_dump etc.

> Do these need to use the <literal> tag, or do we need an additional one, or 
> perhaps a tag for each of these types ?

<literal> is IMHO great for tagging text to indicate that it is expected system
input/output or source code.  Depending on context, lz4 could absolutely use
<literal> (but personally I think we should be careful to not overuse
<literal>).

--
Daniel Gustafsson

[0] https://tdg.docbook.org/tdg/5.0/productname.html
[1] https://tdg.docbook.org/tdg/5.0/systemitem.html

Reply via email to