|
|
|
@ -42,8 +42,8 @@ consists of a super-row that contains all the columns needed by any of the |
|
|
|
|
individual actions, plus CTID and TABLEOID junk columns. The CTID column is |
|
|
|
|
required to know if a matching target row was found or not and the TABLEOID |
|
|
|
|
column is needed to find the underlying target partition, in case when the |
|
|
|
|
target table is a partition table. When a matching target tuple is found, the |
|
|
|
|
CTID column identifies the matching target tuple and we attempt to activate |
|
|
|
|
target table is a partitioned table. When a matching target tuple is found, |
|
|
|
|
the CTID column identifies the matching tuple and we attempt to activate |
|
|
|
|
WHEN MATCHED actions. If a matching tuple is not found, then CTID column is |
|
|
|
|
NULL and we attempt to activate WHEN NOT MATCHED actions. Once we know which |
|
|
|
|
action is activated we form the final result row and apply only those changes. |
|
|
|
|