Minor error in calling a python list a tuple

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Minor error in calling a python list a tuple
Дата
Msg-id 164374545896.17999.4391568104637257825@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Minor error in calling a python list a tuple
Список 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

В списке pgsql-docs по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: maximum number of backtrace frames logged by backtrace_functions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: maximum number of backtrace frames logged by backtrace_functions