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

From Nathan Bossart
Subject pgsql: Remove open-coded binary heap in pg_dump_sort.c.
Date
Msg-id E1qimos-004s57-IC@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix typos in pgoutput.c
Next
From: Michael Paquier
Date:
Subject: pgsql: unaccent: Add support for quoted translated characters