Move bsearch_arg to src/port
authorTomas Vondra <tomas.vondra@postgresql.org>
Mon, 22 Mar 2021 23:11:20 +0000 (00:11 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Mon, 22 Mar 2021 23:11:22 +0000 (00:11 +0100)
commitbfa2cee784125047771db2768fcf7f04d8bd6bb4
tree4701159c4a57c3ecde4af84ded153ff0b1b83f3b
parent063dd37ebc7644e8db6419565b50dca019e69e86
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.
src/backend/statistics/extended_stats.c
src/include/port.h
src/include/statistics/extended_stats_internal.h
src/port/Makefile
src/port/bsearch_arg.c [new file with mode: 0644]
src/tools/msvc/Mkvcbuild.pm