Discussion:
[DOCS] Invalid statement in ref/insert.sgml
(too old to reply)
Alexander Law
2016-07-08 14:22:39 UTC
Permalink
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
Tom Lane
2016-07-08 16:46:41 UTC
Permalink
Post by Alexander Law
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
--
Sent via pgsql-docs mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Loading...