We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentec688fd commit39dbc62Copy full SHA for 39dbc62
doc/src/sgml/plpython.sgml
@@ -410,7 +410,8 @@ $$ LANGUAGE plpythonu;
410
If an SQL null value<indexterm><primary>null value</primary><secondary
411
sortas="PL/Python">PL/Python</secondary></indexterm> is passed to a
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
+ Python. For example, the function definition of <function>pymax</function>
414
+ shown in <xref linkend="plpython-funcs"> will return the wrong answer for null
415
inputs. We could add <literal>STRICT</literal> to the function definition
416
to make <productname>PostgreSQL</productname> do something more reasonable:
417
if a null value is passed, the function will not be called at all,