From 39dbc62adedc8758580d099e4a21f1e5a4a0bf85 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut
Date: Sat, 4 Jun 2011 23:12:27 +0300
Subject: Fix documentation reference to "above" example
found by Thom Brown
---
doc/src/sgml/plpython.sgml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index daefc583f3b..f1798acc71b 100644
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -410,7 +410,8 @@ $$ LANGUAGE plpythonu;
If an SQL null valuenull valuePL/Python is passed to a
function, the argument value will appear as None in
- Python. The above function definition will return the wrong answer for null
+ Python. For example, the function definition of pymax
+ shown in will return the wrong answer for null
inputs. We could add STRICT to the function definition
to make PostgreSQL do something more reasonable:
if a null value is passed, the function will not be called at all,
--
cgit v1.2.3