INSERT ... RETURNING documentation

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: masondeanm(at)aol(dot)com
Subject: INSERT ... RETURNING documentation
Date: 2024-07-25 20:35:01
Message-ID: 172193970148.915373.2403176471224676074@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/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.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2024-07-25 21:27:08 Re: INSERT ... RETURNING documentation
Previous Message Tom Lane 2024-07-25 20:00:17 Re: Add minimal C example and SQL registration example for custom table access methods.