where conflict_target can be one of:
- ( { column_name_index | ( expression_index ) } [ COLLATE collation ] [ opclass ] [, ...] ) [ WHERE index_predicate ]
+ ( { index_column_name | ( index_expression ) } [ COLLATE collation ] [ opclass ] [, ...] ) [ WHERE index_predicate ]
ON CONSTRAINT constraint_name
and conflict_action is one of:
conflict_target can perform
unique index inference. When performing
inference, it consists of one or more
- class="PARAMETER">column_name_index columns and/or
- expression_index
+ class="PARAMETER">index_column_name columns and/or
+ index_expression
expressions, and an optional
index_predicate. All
class="PARAMETER">table_name unique indexes that,
- <literal>conflict_target>
+ <replaceable class="parameter">conflict_target>
Specifies which conflicts ON CONFLICT takes
- <literal>conflict_action>
+ <replaceable class="parameter">conflict_action>
conflict_action specifies an
- column_name_index
+ index_column_name
The name of a
class="PARAMETER">table_name column. Used to
infer arbiter indexes. Follows CREATE
INDEX format. SELECT> privilege on
- column_name_index
+ index_column_name
is required.
- expression_index
+ index_expression
Similar to
- class="PARAMETER">column_name_index, but used to
+ class="PARAMETER">index_column_name, but used to
infer expressions on
class="PARAMETER">table_name columns appearing
within index definitions (not simple columns). Follows
CREATE INDEX format. SELECT>
privilege on any column appearing within
- class="PARAMETER">expression_index is required.
+ class="PARAMETER">index_expression is required.
When specified, mandates that corresponding
- class="PARAMETER">column_name_index or
- expression_index
+ class="PARAMETER">index_column_name or
+ index_expression
use a particular collation in order to be matched during
inference. Typically this is omitted, as collations usually
do not affect whether or not a constraint violation occurs.
When specified, mandates that corresponding
- class="PARAMETER">column_name_index or
- expression_index
+ class="PARAMETER">index_column_name or
+ index_expression
use particular operator class in order to be matched during
inference. Typically this is omitted, as the
equality semantics are often equivalent