Thread: Extra comma in documentation of array_fill

Extra comma in documentation of array_fill

From
PG Doc comments form
Date:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/functions-array.html
Description:

In table 9.49
(https://www.postgresql.org/docs/10/static/functions-array.html#ARRAY-FUNCTIONS-TABLE)
there is an extra comma in the syntax for array_fill.
"array_fill(anyelement, int[], [, int[]])" should be "array_fill(anyelement,
int[] [, int[]])"

Re: Extra comma in documentation of array_fill

From
Bruce Momjian
Date:
On Sun, Mar 25, 2018 at 03:57:47PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/10/static/functions-array.html
> Description:
> 
> In table 9.49
> (https://www.postgresql.org/docs/10/static/functions-array.html#ARRAY-FUNCTIONS-TABLE)
> there is an extra comma in the syntax for array_fill.
> "array_fill(anyelement, int[], [, int[]])" should be "array_fill(anyelement,
> int[] [, int[]])"

This has been fixed:

    commit ee4a2c4a0345f2589ce32b64493b1b14e87f0465
    Author: Tom Lane <tgl@sss.pgh.pa.us>
    Date:   Sun Mar 25 12:38:21 2018 -0400
    
        Doc: remove extra comma in syntax summary for array_fill().
    
        Noted by Scott Ure.  Back-patch to all supported branches.
    
        Discussion: https://postgr.es/m/152199346794.4544.1888397173908716912@wrigleys.postgresql.org

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +