pgsql: Move bsearch_arg to src/port

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема pgsql: Move bsearch_arg to src/port
Дата
Msg-id E1lOUOI-0007wF-4B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Short-circuit slice requests that are for more than the object's
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Add macro RelationIsPermanent() to report relation permanence