Fix documentation reference to "above" example
authorPeter Eisentraut
Sat, 4 Jun 2011 20:12:27 +0000 (23:12 +0300)
committerPeter Eisentraut
Sat, 4 Jun 2011 20:12:27 +0000 (23:12 +0300)
found by Thom Brown

doc/src/sgml/plpython.sgml

index ffc1d3ab3dbe759f0ae75b6c52577f32704e9df9..eda2bbf34c539a23866b61632712ce8c5b168a30 100644 (file)
@@ -400,7 +400,8 @@ $$ LANGUAGE plpythonu;
    If an SQL null valuenull value
    sortas="PL/Python">in PL/Python is passed to a
    function, the argument value will appear as None in
-   Python. The above function definition will return the wrong answer for null
+   Python. For example, the function definition of pymax
+   shown in  will return the wrong answer for null
    inputs. We could add STRICT to the function definition
    to make PostgreSQL do something more reasonable:
    if a null value is passed, the function will not be called at all,