From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move bsearch_arg to src/port
Date: Mon, 22 Mar 2021 23:55:22 +0000
Message-ID: <E1lOUOI-0007wF-4B@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tomas.vondra@postgresql.org
Subject: Re: pgsql: Move bsearch_arg to src/port
In-Reply-To: <E1lOUOI-0007wF-4B@gemulon.postgresql.org>
References: <E1lOUOI-0007wF-4B@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox