From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | John Naylor <john(dot)naylor(at)enterprisedb(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: some aspects of our qsort might not be ideal |
Date: | 2022-02-16 13:41:30 |
Message-ID: | CA+Tgmoasi7t49jiiBKvO9p-i7Hw_56Xb3+JTWaBrPMnV7-YC0w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Feb 16, 2022 at 2:29 AM John Naylor
<john(dot)naylor(at)enterprisedb(dot)com> wrote:
> Does anyone see a reason not to put in the necessary work to try it out?
Seems reasonable to me. It's always a bit difficult, I feel, to know
what test cases to use - almost any idea is going to have some case
where it's worse than what we do today, and there can always be some
user who does that exact thing 100% of the time. Moreover, it's hard
to be certain that test cases we construct - say, ordered data,
reverse ordered data, randomly ordered data, almost ordered data with
a single element out of place, etc. - are actually covering all of the
interesting cases. At the same time, I don't think anyone would
seriously disagree with what you say in the subject line, and we won't
make any progress by NOT trying things that are recommended in the
academic literature.
--
Robert Haas
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Bernd Helmle | 2022-02-16 14:00:05 | Re: PGroonga index-only scan problem with yesterday’s PostgreSQL updates |
Previous Message | Ashutosh Bapat | 2022-02-16 13:40:53 | Re: postgres_fdw and skip locked |