1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-22 02:52:08 +03:00

doc: Fix mistake in PL/Python documentation

Small thinko introduced by 94aceed317

Reported-by: nassehk@gmail.com
This commit is contained in:
Peter Eisentraut
2022-02-02 09:14:26 +01:00
parent e41176bd6f
commit 0b25f5e444

View File

@ -573,7 +573,7 @@ CREATE FUNCTION make_pair (name text, value integer)
RETURNS named_value RETURNS named_value
AS $$ AS $$
return ( name, value ) return ( name, value )
# or alternatively, as tuple: return [ name, value ] # or alternatively, as list: return [ name, value ]
$$ LANGUAGE plpythonu; $$ LANGUAGE plpythonu;
</programlisting> </programlisting>