Thread: Invalid statement in ref/insert.sgml

Invalid statement in ref/insert.sgml

From
Alexander Law
Date:
Hello,

It seems, that the statement "INSERT ... ON CONFLICT DO UPDATE tab SET
table_name.col = 1" is invalid in two ways. Patch attached.
Maybe it's worth to replace "UPDATE tab SET tab.col = 1" with "UPDATE
table_name SET table_name.col = 1" in ref/update.sgml (for consistency) too.

Best regards,
Alexander


Attachment

Re: Invalid statement in ref/insert.sgml

From
Tom Lane
Date:
Alexander Law <exclusion@gmail.com> writes:
> It seems, that the statement "INSERT ... ON CONFLICT DO UPDATE tab SET
> table_name.col = 1" is invalid in two ways. Patch attached.
> Maybe it's worth to replace "UPDATE tab SET tab.col = 1" with "UPDATE
> table_name SET table_name.col = 1" in ref/update.sgml (for consistency) too.

Pushed, thanks!

            regards, tom lane