From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove open-coded binary heap in pg_dump_sort.c.
Date: Wed, 20 Sep 2023 02:20:02 +0000
Message-ID: <E1qimos-004s57-IC@gemulon.postgresql.org> (raw)
Remove open-coded binary heap in pg_dump_sort.c.
Thanks to commit 5af0263afd, binaryheap is available to frontend
code. This commit replaces the open-coded heap implementation in
pg_dump_sort.c with a binaryheap, saving a few lines of code.
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/3612876.1689443232%40sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/559bc1732180d9d3f87ad77e029c823389d8d91b
Modified Files
--------------
src/bin/pg_dump/pg_dump_sort.c | 110 ++++++++++-------------------------------
1 file changed, 27 insertions(+), 83 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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove open-coded binary heap in pg_dump_sort.c.
In-Reply-To: <E1qimos-004s57-IC@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