Re: Sort functions with specialized comparators

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, Антуан Виолин <violin(dot)antuan(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Sort functions with specialized comparators
Date: 2025-01-14 09:22:42
Message-ID: BFDD0855-ED28-4803-B630-F3AC83527427@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 14 Jan 2025, at 13:58, John Naylor <johncnaylorls(at)gmail(dot)com> wrote:
>
> That's not as clear-cut as I thought. To avoid regressions, I've gone
> back to an earlier idea to pass the direction to the comparator, but
> this time keep it simple by using the same comparator for sort and
> unique, similar to v9.

Looks good to me.
Nice stats for some cleaning up 34 insertions(+), 48 deletions(-).

Best regards, Andrey Borodin.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bernd Helmle 2025-01-14 09:34:38 Re: Modern SHA2- based password hashes for pgcrypto
Previous Message Peter Eisentraut 2025-01-14 09:21:44 Re: SCRAM pass-through authentication for postgres_fdw