pgsql: Move bsearch_arg to src/port

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move bsearch_arg to src/port
Date: 2021-03-22 23:55:22
Message-ID: E1lOUOI-0007wF-4B@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-03-23 00:33:32 pgsql: Add macro RelationIsPermanent() to report relation permanence
Previous Message Tom Lane 2021-03-22 18:01:31 pgsql: Mostly-cosmetic adjustments of TOAST-related macros.