Skip to content

Commit 36a1ba9

Browse files
committed
Fix documentation reference to "above" example
found by Thom Brown
1 parent 4dd4bd4 commit 36a1ba9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/plpython.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,8 @@ $$ LANGUAGE plpythonu;
400400
If an SQL null value<indexterm><primary>null value</primary><secondary
401401
sortas="PL/Python">in PL/Python</secondary></indexterm> is passed to a
402402
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
404405
inputs. We could add <literal>STRICT</literal> to the function definition
405406
to make <productname>PostgreSQL</productname> do something more reasonable:
406407
if a null value is passed, the function will not be called at all,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy