Re: Minor error in calling a python list a tuple - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Minor error in calling a python list a tuple
Date
Msg-id 79311e19-c55d-9ca2-785b-986bc14c02b8@enterprisedb.com
Whole thread Raw
In response to Minor error in calling a python list a tuple  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: Minor error in calling a python list a tuple  (Nasseh Khodaie <nassehk@gmail.com>)
List pgsql-docs
On 01.02.22 20:57, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/13/plpython-data.html
> Description:
> 
> Hello,
> In the link bellow there is the mentioned error.
> https://www.postgresql.org/docs/13/plpython-data.html#PLPYTHON-ARRAYS
> 
> CREATE FUNCTION make_pair (name text, value integer)
>    RETURNS named_value
> AS $$
>    return ( name, value )
>    # or alternatively, as tuple: return [ name, value ]
> $$ LANGUAGE plpythonu;
> 
> 
> Should be:
>    # or alternatively, as list: return [ name, value ]

Yes, this is a mistake.  I have fixed it.  Thanks.



pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: maximum number of backtrace frames logged by backtrace_functions
Next
From: Nasseh Khodaie
Date:
Subject: Re: Minor error in calling a python list a tuple