1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Document errhidecontext() where it ought to be documented.

Seems to have been missed when this function was added.  Noted while
looking at David Steele's proposal to add another similar function.
This commit is contained in:
Tom Lane
2016-03-28 14:18:00 -04:00
parent 4b746f0d07
commit e5a4dea80f
2 changed files with 10 additions and 1 deletions

View File

@ -353,6 +353,15 @@ ereport(ERROR,
includes the current statement already.
</para>
</listitem>
<listitem>
<para>
<function>errhidecontext(bool hide_ctx)</function> can be called to
specify suppression of the <literal>CONTEXT:</> portion of a message in
the postmaster log. This should only be used for verbose debugging
messages where the repeated inclusion of context would bloat the log
volume too much.
</para>
</listitem>
</itemizedlist>
</para>