Commit 98b37437 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Update comment.

The _bt_tuplecompare() function mentioned in comment hasn't existed for a
long time.

Peter Geoghegan
parent 284590e4
...@@ -3176,9 +3176,8 @@ comparetup_index_btree(const SortTuple *a, const SortTuple *b, ...@@ -3176,9 +3176,8 @@ comparetup_index_btree(const SortTuple *a, const SortTuple *b,
Tuplesortstate *state) Tuplesortstate *state)
{ {
/* /*
* This is similar to _bt_tuplecompare(), but we have already done the * This is similar to comparetup_heap(), but expects index tuples. There
* index_getattr calls for the first column, and we need to keep track of * is also special handling for enforcing uniqueness, and special treatment
* whether any null fields are present. Also see the special treatment
* for equal keys at the end. * for equal keys at the end.
*/ */
ScanKey scanKey = state->indexScanKey; ScanKey scanKey = state->indexScanKey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment