diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-10-22 15:39:28 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-10-22 15:44:07 +0300 |
commit | 98b37437796bb5fedecf0d0c73cef4aa2ce9d192 (patch) | |
tree | 37366c4775be5f7817d04244e3c3f1e9deebcf8d | |
parent | 284590e416b72f541c5fe54f36a95e38d80835c3 (diff) | |
download | postgresql-98b37437796bb5fedecf0d0c73cef4aa2ce9d192.tar.gz postgresql-98b37437796bb5fedecf0d0c73cef4aa2ce9d192.zip |
Update comment.
The _bt_tuplecompare() function mentioned in comment hasn't existed for a
long time.
Peter Geoghegan
-rw-r--r-- | src/backend/utils/sort/tuplesort.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c index 8e57505eddc..2d15da0bfa7 100644 --- a/src/backend/utils/sort/tuplesort.c +++ b/src/backend/utils/sort/tuplesort.c @@ -3176,9 +3176,8 @@ comparetup_index_btree(const SortTuple *a, const SortTuple *b, Tuplesortstate *state) { /* - * This is similar to _bt_tuplecompare(), but we have already done the - * index_getattr calls for the first column, and we need to keep track of - * whether any null fields are present. Also see the special treatment + * This is similar to comparetup_heap(), but expects index tuples. There + * is also special handling for enforcing uniqueness, and special treatment * for equal keys at the end. */ ScanKey scanKey = state->indexScanKey; |