Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Geoghegan2020-03-31 00:34:12 +0000
committerPeter Geoghegan2020-03-31 00:34:12 +0000
commitf01157e2ac8ac4dff8ba159c36edf2fdb7d6704e (patch)
treec3985c26f709bb37f54dfd01c5d05e0edc9f4c1c /src/backend/tcop/postgres.c
parentdd9ac7d5d80608a640bb82cffb6a805ce84cf112 (diff)
Further simplify nbtree high key truncation.
Commit 7c2dbc69 reorganized _bt_truncate() in a way that enables a further simplification that I (pgeoghegan) missed: Since we mark the tuple that is returned to the caller as a pivot tuple before the point where its heap TID is set as of 7c2dbc69, it is possible to use the high level BTreeTupleGetHeapTID() inline function to get an item pointer. Do it that way now. This approach is clearer and more maintainable.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions