pgsql: Move bsearch_arg to src/port - Mailing list pgsql-committers

From Tomas Vondra
Subject pgsql: Move bsearch_arg to src/port
Date
Msg-id E1lOUOI-0007wF-4B@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Short-circuit slice requests that are for more than the object's
Next
From: Bruce Momjian
Date:
Subject: pgsql: Add macro RelationIsPermanent() to report relation permanence