projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54428db
)
plpython has plpy.Error instead of plpy.ERROR
author
Alvaro Herrera
Tue, 9 Nov 2010 14:00:56 +0000
(11:00 -0300)
committer
Alvaro Herrera
Tue, 9 Nov 2010 14:02:17 +0000
(11:02 -0300)
Author: Marti Raudsepp
doc/src/sgml/plpython.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/plpython.sgml
b/doc/src/sgml/plpython.sgml
index 6eb884e0dc5c18cbe03da0ca21475ad88bcd8a02..9fc8808776c427b7c7e12f1e6d0946897e89657c 100644
(file)
--- a/
doc/src/sgml/plpython.sgml
+++ b/
doc/src/sgml/plpython.sgml
@@
-954,8
+954,8
@@
$$ LANGUAGE plpythonu;
plpy.fatal
actually raise a Python exception
which, if uncaught, propagates out to the calling query, causing
the current transaction or subtransaction to be aborted.
-
raise plpy.E
RROR
(
msg>)
and
-
raise plpy.F
ATAL
(
msg>)
are
+
raise plpy.E
rror
(
msg>)
and
+
raise plpy.F
atal
(
msg>)
are
equivalent to calling
plpy.error
and
plpy.fatal
, respectively.