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

Commit39dbc62

Browse files
committed
Fix documentation reference to "above" example
found by Thom Brown
1 parentec688fd commit39dbc62

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
@@ -410,7 +410,8 @@ $$ LANGUAGE plpythonu;
410410
If an SQL null value<indexterm><primary>null value</primary><secondary
411411
sortas="PL/Python">PL/Python</secondary></indexterm> is passed to a
412412
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
414415
inputs. We could add <literal>STRICT</literal> to the function definition
415416
to make <productname>PostgreSQL</productname> do something more reasonable:
416417
if a null value is passed, the function will not be called at all,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp