Re: Minor error in calling a python list a tuple

From: Nasseh Khodaie <nassehk(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Minor error in calling a python list a tuple
Date: 2022-02-02 14:56:35
Message-ID: CAOvPZ-SQ+fRFuPoE4zLaFTqzdX7u3ywHVPW=utnzX_UPDFgKsw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Awesome.
Thanks for the great work you are doing. All of you.

Nasseh

On Wed, Feb 2, 2022, 3:17 AM Peter Eisentraut <
peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:

> 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

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2022-02-03 02:54:48 Re: Conventions
Previous Message Peter Eisentraut 2022-02-02 08:17:04 Re: Minor error in calling a python list a tuple