INSERT ... RETURNING documentation - Mailing list pgsql-docs

From PG Doc comments form
Subject INSERT ... RETURNING documentation
Date
Msg-id 172193970148.915373.2403176471224676074@wrigleys.postgresql.org
Whole thread Raw
Responses Re: INSERT ... RETURNING documentation
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-insert.html
Description:

The grammar
[ RETURNING * | output_expression [ [ AS ] output_name ] [, ...] ]
seems wrong to me. I appears to say it could be either
RETURNING *
or
output_expression [ [ AS ] output_name ] [, ...]

but I believe the RETURNING is always required.

pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Typo in 15.3.4
Next
From: "David G. Johnston"
Date:
Subject: Re: INSERT ... RETURNING documentation