A qsort template - Mailing list pgsql-hackers

From Thomas Munro
Subject A qsort template
Date
Msg-id CA+hUKGJ2-eaDqAum5bxhpMNhvuJmRDZxB_Tow0n-gse+HG0Yig@mail.gmail.com
Whole thread Raw
Responses Re: A qsort template  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hello,

In another thread[1], I proposed $SUBJECT, but then we found a better
solution to that thread's specific problem.  The general idea is still
good though: it's possible to (1) replace several existing copies of
our qsort algorithm with one, and (2) make new specialised versions a
bit more easily than the existing Perl generator allows.  So, I'm back
with a rebased stack of patches.  I'll leave specific cases for new
worthwhile specialisations for separate proposals; I've heard about
several.

[1] https://www.postgresql.org/message-id/flat/CA%2BhUKGKMQFVpjr106gRhwk6R-nXv0qOcTreZuQzxgpHESAL6dw%40mail.gmail.com

Attachment

pgsql-hackers by date:

Previous
From: japin
Date:
Subject: Re: Fix typo about WalSndPrepareWrite
Next
From: "Hou, Zhijie"
Date:
Subject: RE: Determine parallel-safety of partition relations for Inserts