INSERT INTO RETURNING SYNTAX ERROR

Started by PG Bug reporting formover 7 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

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

When using the RETURNING extension on the INSERT function when nested, does
not propagate the return value up, and causes a syntax error on the "INTO"
keyword, this is because the RETURNING extension is also expecting in "INTO"
key word, which isn't mentioned anywhere in the documentation?

#2Bruce Momjian
bruce@momjian.us
In reply to: PG Bug reporting form (#1)
Re: INSERT INTO RETURNING SYNTAX ERROR

On Mon, Oct 22, 2018 at 08:42:27AM +0000, PG Doc comments form wrote:

The following documentation comment has been logged on the website:

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

When using the RETURNING extension on the INSERT function when nested, does
not propagate the return value up, and causes a syntax error on the "INTO"
keyword, this is because the RETURNING extension is also expecting in "INTO"
key word, which isn't mentioned anywhere in the documentation?

Uh, can you show us an example of the failure?

--
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 +