public inbox for [email protected]
help / color / mirror / Atom feedMinor error in calling a python list a tuple
3+ messages / 3 participants
[nested] [flat]
* Minor error in calling a python list a tuple
@ 2022-02-01 19:57 PG Doc comments form <[email protected]>
2022-02-02 08:17 ` Re: Minor error in calling a python list a tuple Peter Eisentraut <[email protected]>
0 siblings, 1 reply; 3+ messages in thread
From: PG Doc comments form @ 2022-02-01 19:57 UTC (permalink / raw)
To: [email protected]; +Cc: [email protected]
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Minor error in calling a python list a tuple
2022-02-01 19:57 Minor error in calling a python list a tuple PG Doc comments form <[email protected]>
@ 2022-02-02 08:17 ` Peter Eisentraut <[email protected]>
2022-02-02 14:56 ` Re: Minor error in calling a python list a tuple Nasseh Khodaie <[email protected]>
0 siblings, 1 reply; 3+ messages in thread
From: Peter Eisentraut @ 2022-02-02 08:17 UTC (permalink / raw)
To: [email protected]; [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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Minor error in calling a python list a tuple
2022-02-01 19:57 Minor error in calling a python list a tuple PG Doc comments form <[email protected]>
2022-02-02 08:17 ` Re: Minor error in calling a python list a tuple Peter Eisentraut <[email protected]>
@ 2022-02-02 14:56 ` Nasseh Khodaie <[email protected]>
0 siblings, 0 replies; 3+ messages in thread
From: Nasseh Khodaie @ 2022-02-02 14:56 UTC (permalink / raw)
To: Peter Eisentraut <[email protected]>; +Cc: [email protected]
Awesome.
Thanks for the great work you are doing. All of you.
Nasseh
On Wed, Feb 2, 2022, 3:17 AM Peter Eisentraut <
[email protected]> 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.
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2022-02-02 14:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 19:57 Minor error in calling a python list a tuple PG Doc comments form <[email protected]>
2022-02-02 08:17 ` Peter Eisentraut <[email protected]>
2022-02-02 14:56 ` Nasseh Khodaie <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox