doc: Explain that ereport doesn't return for ERROR or higher levels.

Christophe Pettus
This commit is contained in:
Robert Haas 2013-08-26 14:27:43 -04:00
parent 2aac3399ae
commit 8d00ab6306
1 changed files with 7 additions and 0 deletions

View File

@ -142,6 +142,13 @@ ereport(ERROR,
a message text. Also, an optional <quote>hint</> message is provided.
</para>
<para>
If the severity level is <literal>ERROR</> or higher,
<function>ereport</> aborts the execution of the user-defined
function and does not return to the caller. If the severity level is
lower than <literal>ERROR</>, <function>ereport</> returns normally.
</para>
<para>
The available auxiliary routines for <function>ereport</> are:
<itemizedlist>