git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec688fd)
Fix documentation reference to "above" example
Sat, 4 Jun 2011 20:12:27 +0000 (23:12 +0300)
Sat, 4 Jun 2011 20:13:28 +0000 (23:13 +0300)
found by Thom Brown


diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index daefc583f3b43a6378b80056824191ff4ba3eac8..f1798acc71b1ab760da8ec14798605508a817b6d 100644 (file)
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -410,7 +410,8 @@ $$ LANGUAGE plpythonu;
If an SQL null value<indexterm><primary>null value</primary><secondary
sortas="PL/Python">PL/Python</secondary></indexterm> is passed to a
function, the argument value will appear as <symbol>None</symbol> in
- Python. The above function definition will return the wrong answer for null
+ Python. For example, the function definition of <function>pymax</function>
+ shown in <xref linkend="plpython-funcs"> will return the wrong answer for null
inputs. We could add <literal>STRICT</literal> to the function definition
to make <productname>PostgreSQL</productname> do something more reasonable:
if a null value is passed, the function will not be called at all,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /