column leaves the other fields null.) When referencing a
column with ON CONFLICT DO UPDATE>, do not include
the table's name in the specification of a target column. For
- example, INSERT ... ON CONFLICT DO UPDATE tab SET
- table_name.col = 1> is invalid (this follows the general
+ example, INSERT INTO table_name ... ON CONFLICT DO UPDATE
+ SET table_name.col = 1> is invalid (this follows the general
behavior for UPDATE>).
The column name can be qualified with a subfield name or array
subscript, if needed. Do not include the table's name in the
specification of a target column — for example,
- UPDATE tab SET tab.col = 1> is invalid.
+ UPDATE table_name SET table_name.col = 1> is invalid.