diff options
author | Tomas Vondra | 2021-03-22 23:11:20 +0000 |
---|---|---|
committer | Tomas Vondra | 2021-03-22 23:11:22 +0000 |
commit | bfa2cee784125047771db2768fcf7f04d8bd6bb4 (patch) | |
tree | 4701159c4a57c3ecde4af84ded153ff0b1b83f3b /src/include/statistics/extended_stats_internal.h | |
parent | 063dd37ebc7644e8db6419565b50dca019e69e86 (diff) |
Move bsearch_arg to src/port
Until now the bsearch_arg function was used only in extended statistics
code, so it was defined in that code. But we already have qsort_arg in
src/port, so let's move it next to it.
Diffstat (limited to 'src/include/statistics/extended_stats_internal.h')
-rw-r--r-- | src/include/statistics/extended_stats_internal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/statistics/extended_stats_internal.h b/src/include/statistics/extended_stats_internal.h index c849bd57c03..a0a3cf5b0fa 100644 --- a/src/include/statistics/extended_stats_internal.h +++ b/src/include/statistics/extended_stats_internal.h @@ -85,11 +85,6 @@ extern int multi_sort_compare_dims(int start, int end, const SortItem *a, extern int compare_scalars_simple(const void *a, const void *b, void *arg); extern int compare_datums_simple(Datum a, Datum b, SortSupport ssup); -extern void *bsearch_arg(const void *key, const void *base, - size_t nmemb, size_t size, - int (*compar) (const void *, const void *, void *), - void *arg); - extern AttrNumber *build_attnums_array(Bitmapset *attrs, int *numattrs); extern SortItem *build_sorted_items(int numrows, int *nitems, HeapTuple *rows, |