Skip to content

Commit 8d00ab6

Browse files
committed
doc: Explain that ereport doesn't return for ERROR or higher levels.
Christophe Pettus
1 parent 2aac339 commit 8d00ab6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/src/sgml/sources.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ ereport(ERROR,
142142
a message text. Also, an optional <quote>hint</> message is provided.
143143
</para>
144144

145+
<para>
146+
If the severity level is <literal>ERROR</> or higher,
147+
<function>ereport</> aborts the execution of the user-defined
148+
function and does not return to the caller. If the severity level is
149+
lower than <literal>ERROR</>, <function>ereport</> returns normally.
150+
</para>
151+
145152
<para>
146153
The available auxiliary routines for <function>ereport</> are:
147154
<itemizedlist>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy