Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 84893B88B93 for ; Sat, 4 Jun 2011 10:38:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 56438-06 for ; Sat, 4 Jun 2011 13:38:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by mail.postgresql.org (Postfix) with ESMTP id 4422EB88B5C for ; Sat, 4 Jun 2011 10:38:02 -0300 (ADT) Received: from mail-wy0-f174.google.com (mail-wy0-f174.google.com [74.125.82.174]) (authenticated bits=0) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p54DbSxt005346 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Sat, 4 Jun 2011 06:37:29 -0700 Received: by wya21 with SMTP id 21so1931520wya.19 for ; Sat, 04 Jun 2011 06:37:27 -0700 (PDT) Received: by 10.216.237.217 with SMTP id y67mr544885weq.1.1307194647125; Sat, 04 Jun 2011 06:37:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.86.71 with HTTP; Sat, 4 Jun 2011 06:36:57 -0700 (PDT) From: Thom Brown Date: Sat, 4 Jun 2011 14:36:57 +0100 Message-ID: Subject: Confusing sentence regarding Python example To: pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.13 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/13 X-Sequence-Number: 6787 Hi, The docs reference an example "above" which doesn't exist: http://www.postgresql.org/docs/current/static/plpython-data.html#AEN52431 It says that it would return the wrong answer for null inputs, but then gives an example where it handles that. Is something missing here? -- Thom Brown Twitter: @darkixion IRC (freenode): dark_ixion Registered Linux user: #516935 EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company