pgsql: Remove open-coded binary heap in pg_dump_sort.c.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove open-coded binary heap in pg_dump_sort.c.
Date: 2023-09-20 02:20:02
Message-ID: E1qimos-004s57-IC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-09-20 03:31:06 pgsql: unaccent: Add support for quoted translated characters
Previous Message Michael Paquier 2023-09-20 01:07:08 pgsql: Fix typos in pgoutput.c