Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36a1ba9

Browse files
committed
Fix documentation reference to "above" example
found by Thom Brown
1 parent4dd4bd4 commit36a1ba9

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)

[8]ページ先頭

©2009-2025 Movatter.jp