add_brief_general_comment_on_BTScanInsertData_nextkey.patch
text/x-diff
Filename: add_brief_general_comment_on_BTScanInsertData_nextkey.patch
Type: text/x-diff
Part: 0
diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h index 16be5c7a9c1..581e200a3cf 100644 --- a/src/include/access/nbtree.h +++ b/src/include/access/nbtree.h @@ -774,8 +774,9 @@ typedef BTStackData *BTStack; * bit, but may not when inserting into an INCLUDE index (tuple header value * is affected by the NULL-ness of both key and non-key attributes). * - * See comments in _bt_first for an explanation of the nextkey and backward - * fields. + * nextkey determines how the scankey's boundary is interpreted, and backward + * indicates a backward scan. See comments in _bt_first for a more detailed + * explanation of these fields. * * scantid is the heap TID that is used as a final tiebreaker attribute. It * is set to NULL when index scan doesn't need to find a position for a