Move bsearch_arg to src/port
Tomas Vondra <tomas.vondra@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/statistics/extended_stats.c | modified | +0 −31 |
| src/include/port.h | modified | +5 −0 |
| src/include/statistics/extended_stats_internal.h | modified | +0 −5 |
| src/port/bsearch_arg.c | added | +78 −0 |
| src/port/Makefile | modified | +1 −0 |
| src/tools/msvc/Mkvcbuild.pm | modified | +1 −1 |