Skip to content

Commit 98b3743

Browse files
committed
Update comment.
The _bt_tuplecompare() function mentioned in comment hasn't existed for a long time. Peter Geoghegan
1 parent 284590e commit 98b3743

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/backend/utils/sort/tuplesort.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3176,9 +3176,8 @@ comparetup_index_btree(const SortTuple *a, const SortTuple *b,
31763176
Tuplesortstate *state)
31773177
{
31783178
/*
3179-
* This is similar to _bt_tuplecompare(), but we have already done the
3180-
* index_getattr calls for the first column, and we need to keep track of
3181-
* whether any null fields are present. Also see the special treatment
3179+
* This is similar to comparetup_heap(), but expects index tuples. There
3180+
* is also special handling for enforcing uniqueness, and special treatment
31823181
* for equal keys at the end.
31833182
*/
31843183
ScanKey scanKey = state->indexScanKey;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy