summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4b78679d32d..61ab9325c9e 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>