Thread: pgsql: Move bsearch_arg to src/port

pgsql: Move bsearch_arg to src/port

From
Tomas Vondra
Date:
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bfa2cee784125047771db2768fcf7f04d8bd6bb4

Modified Files
--------------
src/backend/statistics/extended_stats.c          | 31 ----------
src/include/port.h                               |  5 ++
src/include/statistics/extended_stats_internal.h |  5 --
src/port/Makefile                                |  1 +
src/port/bsearch_arg.c                           | 78 ++++++++++++++++++++++++
src/tools/msvc/Mkvcbuild.pm                      |  2 +-
6 files changed, 85 insertions(+), 37 deletions(-)