Re: [PATCH] Use ssup_datum_*_cmp for int2, oid, and oid8 sort support

John Naylor <johncnaylorls@gmail.com>

From: John Naylor <johncnaylorls@gmail.com>
To: Baji Shaik <baji.pgdev@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org, john.naylor@postgresql.org, michael@paquier.xyz
Date: 2026-07-02T09:00:43Z
Lists: pgsql-hackers
On Thu, Jun 4, 2026 at 6:37 AM Baji Shaik <baji.pgdev@gmail.com> wrote:
> The patch just replaces the comparator assignment and removes the
> now-unused local fastcmp functions.  No behavioral change and the
> helpers produce identical results.

Pushed, thanks for the patch!

-- 
John Naylor
Amazon Web Services



Commits

  1. Use ssup_datum_*_cmp in more places

  2. Perform radix sort on SortTuples with pass-by-value Datums

  3. Specialize tuplesort routines for different kinds of abbreviated keys