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

Christophe Pettus
pull/6/head
Robert Haas 12 years ago
parent 2aac3399ae
commit 8d00ab6306
  1. 7
      doc/src/sgml/sources.sgml

@ -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>

Loading…
Cancel
Save