Minor error in calling a python list a tuple

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: nassehk(at)gmail(dot)com
Subject: Minor error in calling a python list a tuple
Date: 2022-02-01 19:57:38
Message-ID: 164374545896.17999.4391568104637257825@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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 ]

I hope I am not wrong and I didn't waste your time.
Thanks,

Nasseh

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2022-02-02 07:20:12 Re: maximum number of backtrace frames logged by backtrace_functions
Previous Message Fujii Masao 2022-02-01 17:04:21 maximum number of backtrace frames logged by backtrace_functions