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 @@ -410,7 +410,8 @@ $$ LANGUAGE plpythonu;
410
410
If an SQL null value<indexterm><primary>null value</primary><secondary
411
411
sortas="PL/Python">PL/Python</secondary></indexterm> is passed to a
412
412
function, the argument value will appear as <symbol>None</symbol> in
413
- Python. The above function definition will return the wrong answer for null
413
+ Python. For example, the function definition of <function>pymax</function>
414
+ shown in <xref linkend="plpython-funcs"> will return the wrong answer for null
414
415
inputs. We could add <literal>STRICT</literal> to the function definition
415
416
to make <productname>PostgreSQL</productname> do something more reasonable:
416
417
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