public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Eisentraut <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: Minor error in calling a python list a tuple
Date: Wed, 2 Feb 2022 09:17:04 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
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.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Minor error in calling a python list a tuple
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox