projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aac339
)
doc: Explain that ereport doesn't return for ERROR or higher levels.
author
Robert Haas
<
[email protected]
>
Mon, 26 Aug 2013 18:27:43 +0000
(14:27 -0400)
committer
Robert Haas
<
[email protected]
>
Mon, 26 Aug 2013 18:27:43 +0000
(14:27 -0400)
Christophe Pettus
doc/src/sgml/sources.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/sources.sgml
b/doc/src/sgml/sources.sgml
index 4b78679d32d808ddddc3c291ba8689a653fa1023..61ab9325c9ebab7540efdfc4c0a6e20b1a25bdf4 100644
(file)
--- a/
doc/src/sgml/sources.sgml
+++ b/
doc/src/sgml/sources.sgml
@@
-142,6
+142,13
@@
ereport(ERROR,
a message text. Also, an optional <quote>hint</> message is provided.
</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>