doc: Clarify the errhint example
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 12 Jul 2023 17:38:51 +0000 (19:38 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 12 Jul 2023 17:38:51 +0000 (19:38 +0200)
The errhint example wasn't using the mandated style for errhint
which was needlessly confusing.  Fix by rewriting it using the
mandated style.

Reported-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Gurjeet Singh <gurjeet@singh.im>
Reviewed-by: Jonathan S. Katz <jkatz@postgresql.org>
Discussion: https://postgr.es/m/F02F4B4F-7B7E-406A-B25A-FF2AA300AB9A@yesql.se

doc/src/sgml/sources.sgml

index 0db36aee2f55bfac8724615555a386ad15083617..514090d5a64b4c5293c31bf26fc4b686d97a5310 100644 (file)
@@ -470,7 +470,7 @@ IpcMemoryCreate: shmget(key=%d, size=%u, 0%o) failed: %m
 <programlisting>
 Primary:    could not create shared memory segment: %m
 Detail:     Failed syscall was shmget(key=%d, size=%u, 0%o).
-Hint:       the addendum
+Hint:       The addendum, written as a complete sentence.
 </programlisting>
    </para>