public inbox for [email protected]  
help / color / mirror / Atom feed
From: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Minor error in calling a python list a tuple
Date: Tue, 01 Feb 2022 19:57:38 +0000
Message-ID: <[email protected]> (raw)

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


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