newTuple =heap_form_tuple(tupleDesc, values, nulls); newTuple->t_data->t_ctid = oldTuple->t_data->t_ctid; newTuple->t_self = oldTuple->t_self;if(tupleDesc->tdhasoid) HeapTupleSetOid(newTuple, HeapTupleGetOid(oldTuple)); heap_inplace_update(gp_fastsequence_rel, newTuple); heap...
tuple->t_data = td = (HeapTupleHeader) ((char *) tuple + HEAPTUPLESIZE) : t_data指向的是HeapTupleData后,HeapTupleHeaderData头的位置 ... // 配置tuple的值 ... heap_fill_tuple : 根据数据类型开始添加数据,见3.4 3.3 heap_compute_data_size 计算数据长度heap_compute_data_size,已下面SQL为...