Обсуждение: Confusing sentence regarding Python example

Поиск
Список
Период
Сортировка

Confusing sentence regarding Python example

От
Thom Brown
Дата:
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

Re: Confusing sentence regarding Python example

От
Peter Eisentraut
Дата:
On lör, 2011-06-04 at 14:36 +0100, Thom Brown wrote:
> 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?

Fixed.  It was a leftover from an earlier version that was organized
differently.


Re: Confusing sentence regarding Python example

От
Thom Brown
Дата:
On 4 June 2011 21:40, Peter Eisentraut <peter_e@gmx.net> wrote:
> On lör, 2011-06-04 at 14:36 +0100, Thom Brown wrote:
>> 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?
>
> Fixed.  It was a leftover from an earlier version that was organized
> differently.

Thanks

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company