public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nathan Bossart <[email protected]>
To: [email protected]
Subject: pgsql: Replace calls to pg_qsort() with the qsort() macro.
Date: Fri, 16 Feb 2024 17:39:50 +0000
Message-ID: <[email protected]> (raw)

Replace calls to pg_qsort() with the qsort() macro.

Calls to this function might give the impression that pg_qsort()
is somehow different than qsort(), when in fact there is a qsort()
macro in port.h that expands all in-tree uses to pg_qsort().

Reviewed-by: Mats Kindahl
Discussion: https://postgr.es/m/CA%2B14426g2Wa9QuUpmakwPxXFWG_1FaY0AsApkvcTBy-YfS6uaw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5497daf3aa2ae6ec9d5097f25c40627f8c801de8

Modified Files
--------------
contrib/pg_prewarm/autoprewarm.c            |  4 ++--
src/backend/access/brin/brin_minmax_multi.c |  2 +-
src/backend/optimizer/plan/analyzejoins.c   |  4 ++--
src/backend/storage/buffer/bufmgr.c         |  4 ++--
src/backend/utils/cache/syscache.c          | 10 +++++-----
src/include/port.h                          |  4 ++++
6 files changed, 16 insertions(+), 12 deletions(-)



reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Replace calls to pg_qsort() with the qsort() macro.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox