doc: Clarify the errhint example

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: e68dd9e9073521235bf71be3f9d7028492bd3bbc
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2023-07-12T17:38:51Z
Releases: 17.0
doc: Clarify the errhint example

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

Files

PathChange+/−
doc/src/sgml/sources.sgml modified +1 −1

Documentation touched

Discussion