Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d00ab6

Browse files
committed
doc: Explain that ereport doesn't return for ERROR or higher levels.
Christophe Pettus
1 parent2aac339 commit8d00ab6

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)

[8]ページ先頭

©2009-2025 Movatter.jp