pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use sort_template.h for qsort() and qsort_arg().
Date: Wed, 03 Mar 2021 04:14:26 +0000
Message-ID: <E1lHIu2-0002hh-PB@gemulon.postgresql.org> (raw)

Use sort_template.h for qsort() and qsort_arg().

Reduce duplication by using the new template.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CA%2BhUKGJ2-eaDqAum5bxhpMNhvuJmRDZxB_Tow0n-gse%2BHG0Yig%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f374f4d66425060158d3c743dc6fb16cc0a2756a

Modified Files
--------------
src/port/qsort.c     | 227 ++------------------------------------------------
src/port/qsort_arg.c | 228 ++-------------------------------------------------
2 files changed, 15 insertions(+), 440 deletions(-)



Message-ID: <E1lHIu2-0002hh-PB@gemulon.postgresql.org>
Permalink:  ../E1lHIu2-0002hh-PB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lHIu2-0002hh-PB@gemulon.postgresql.org

 · 

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 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: tmunro@postgresql.org
  Subject: Re: pgsql: Use sort_template.h for qsort() and qsort_arg().
  In-Reply-To: <E1lHIu2-0002hh-PB@gemulon.postgresql.org>
  References: <E1lHIu2-0002hh-PB@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