Clarification Needed on VARIADIC Keyword Explanation

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: joelc0193(at)gmail(dot)com
Subject: Clarification Needed on VARIADIC Keyword Explanation
Date: 2024-11-24 21:30:25
Message-ID: 173248382517.2092749.12175934323788004110@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/plpgsql-overview.html
Description:

The current documentation for the VARIADIC keyword in PostgreSQL contains an
incorrect statement. It says that VARIADIC "prevents expansion of the
function's variadic parameter into its element type." This is misleading, as
the purpose of VARIADIC is to enable the expansion of an array into
individual elements, allowing them to be passed as separate arguments to a
variadic function.

Please review and correct the documentation to accurately reflect that
VARIADIC facilitates the expansion of array elements into individual
arguments for functions, not the opposite. Thank you!

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Paquier 2024-11-25 00:06:21 Re: Misprints in code
Previous Message Koen De Groote 2024-11-22 10:42:01 Re: Logical replication - initial data synchronization