summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2013-08-26 18:27:43 +0000
committerRobert Haas2013-08-26 18:27:43 +0000
commit8d00ab630668a15e86b584b39187ef3bf3154511 (patch)
tree8dede925a78749a5eb9c2b56dff663119ec61204
parent2aac3399aef47e40d688f3eee3f92b6deea2f974 (diff)
doc: Explain that ereport doesn't return for ERROR or higher levels.
Christophe Pettus
-rw-r--r--doc/src/sgml/sources.sgml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml
index 4b78679d32..61ab9325c9 100644
--- a/doc/src/sgml/sources.sgml
+++ b/doc/src/sgml/sources.sgml
@@ -143,6 +143,13 @@ ereport(ERROR,
</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>
<listitem>