Re: Minor error in calling a python list a tuple

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: nassehk(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Minor error in calling a python list a tuple
Date: 2022-02-02 08:17:04
Message-ID: 79311e19-c55d-9ca2-785b-986bc14c02b8@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Nasseh Khodaie 2022-02-02 14:56:35 Re: Minor error in calling a python list a tuple
Previous Message Peter Eisentraut 2022-02-02 07:20:12 Re: maximum number of backtrace frames logged by backtrace_functions