Commit 8d00ab63 authored by Robert Haas's avatar Robert Haas

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

Christophe Pettus
parent 2aac3399
...@@ -142,6 +142,13 @@ ereport(ERROR, ...@@ -142,6 +142,13 @@ ereport(ERROR,
a message text. Also, an optional <quote>hint</> message is provided. a message text. Also, an optional <quote>hint</> message is provided.
</para> </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> <para>
The available auxiliary routines for <function>ereport</> are: The available auxiliary routines for <function>ereport</> are:
<itemizedlist> <itemizedlist>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment