]> granicus.if.org Git - postgresql/commitdiff
Fix documentation reference to "above" example
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 4 Jun 2011 20:12:27 +0000 (23:12 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 4 Jun 2011 20:13:28 +0000 (23:13 +0300)
found by Thom Brown

doc/src/sgml/plpython.sgml

index daefc583f3b43a6378b80056824191ff4ba3eac8..f1798acc71b1ab760da8ec14798605508a817b6d 100644 (file)
@@ -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,