File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
7676 <para>
7777 <literal>ON CONFLICT</> can be used to specify an alternative
7878 action to raising a unique constraint or exclusion constraint
79- violation error . (See <xref linkend="sql-on-conflict"
79+ violation error. (See <xref linkend="sql-on-conflict"
8080 endterm="sql-on-conflict-title"> below.)
8181 </para>
8282
@@ -397,7 +397,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
397397 <emphasis>unique index inference</emphasis> clause or an explicitly
398398 named constraint can be used. For <literal>ON CONFLICT DO
399399 NOTHING</literal>, it is optional to specify a
400- <parameter>conflict_target</parameter>; when ommitted , conflicts
400+ <parameter>conflict_target</parameter>; when omitted , conflicts
401401 with all usable constraints (and unique indexes) are handled. For
402402 <literal>ON CONFLICT DO UPDATE</literal>, a conflict target
403403 <emphasis>must</emphasis> be specified.
Original file line number Diff line number Diff line change @@ -2068,10 +2068,10 @@ FreeBulkInsertState(BulkInsertState bistate)
20682068 * Speculatively inserted tuples behave as "value locks" of short duration,
20692069 * used to implement INSERT .. ON CONFLICT.
20702070 *
2071- * Note that these options will be applied when inserting into the heap's
2072- * TOAST table, too, if the tuple requires any out-of-line data.
2073- * FIXME: Do we mark TOAST tuples as speculative too? What about confirming
2074- * or aborting them?
2071+ * Note that most of these options will be applied when inserting into the
2072+ * heap's TOAST table, too, if the tuple requires any out-of-line data. Only
2073+ * HEAP_INSERT_IS_SPECULATIVE is explicitly ignored, as the toast data does
2074+ * not partake in speculative insertion.
20752075 *
20762076 * The BulkInsertState object (if any; bistate can be NULL for default
20772077 * behavior) is also just passed through to RelationGetBufferForTuple.
Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ int SessionReplicationRole = SESSION_REPLICATION_ROLE_ORIGIN;
6666static int MyTriggerDepth = 0 ;
6767
6868/*
69- * Note that similar macros also exists in executor/execMain.c. There does not
70- * appear to be any good header to put it into, given the structures that it
71- * uses , so we let them be duplicated. Be sure to update both if one needs to
72- * be changed, however.
69+ * Note that similar macros also exist in executor/execMain.c. There does not
70+ * appear to be any good header to put them into, given the structures that
71+ * they use , so we let them be duplicated. Be sure to update all if one needs
72+ * to be changed, however.
7373 */
7474#define GetUpdatedColumns (relinfo , estate ) \
7575 (rt_fetch((relinfo)->ri_RangeTableIndex, (estate)->es_range_table)->updatedCols)
Original file line number Diff line number Diff line change @@ -1108,7 +1108,7 @@ typedef struct ModifyTableState
11081108 List * mt_arbiterindexes ; /* unique index OIDs to arbitrate taking alt path */
11091109 TupleTableSlot * mt_existing ; /* slot to store existing target tuple in */
11101110 List * mt_excludedtlist ; /* the excluded pseudo relation's tlist */
1111- TupleTableSlot * mt_conflproj ; /* FIXME */
1111+ TupleTableSlot * mt_conflproj ; /* CONFLICT ... SET ... projection target */
11121112} ModifyTableState ;
11131113
11141114/* ----------------
You can’t perform that action at this time.
0 commit comments