File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,8 @@ $$ LANGUAGE plpythonu;
400
400
If an SQL null value<indexterm><primary>null value</primary><secondary
401
401
sortas="PL/Python">in PL/Python</secondary></indexterm> is passed to a
402
402
function, the argument value will appear as <symbol>None</symbol> in
403
- Python. The above function definition will return the wrong answer for null
403
+ Python. For example, the function definition of <function>pymax</function>
404
+ shown in <xref linkend="plpython-funcs"> will return the wrong answer for null
404
405
inputs. We could add <literal>STRICT</literal> to the function definition
405
406
to make <productname>PostgreSQL</productname> do something more reasonable:
406
407
if a null value is passed, the function will not be called at all,
You can’t perform that action at this time.
0 commit comments