pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: buschmann@nidsa.net
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17924: Inverted behavior of "Date" and "Reverse Date" when searching a mailbox archive
Date: Sun, 07 May 2023 10:05:08 -0400
Message-ID: <4144338.1683468308@sss.pgh.pa.us> (raw)
In-Reply-To: <17924-e2de0e7357152edb@postgresql.org>
References: <17924-e2de0e7357152edb@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> When changing the order of the result set from "Rank" to "Reverse Date" I
> observed that "Date" gives the results from newest to oldest while "Reverse
> Date" gives them from oldest to newest.
> This seems to me a mismatch and quite confusing.
> The semantics of Date and Reverse Date should be corrected (exchanged)

It's been like that for a decade or two, and you are the first to
complain AFAIR.  Changing it at this point would doubtless add a
lot more confusion than it subtracts.

We could perhaps change to some other terms entirely, like
"Newest First" and "Oldest First", but I'm not convinced that
that's an improvement either.

			regards, tom lane





view thread (2+ messages)

Message-ID: <4144338.1683468308@sss.pgh.pa.us>
Permalink:  ../4144338.1683468308@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4144338.1683468308@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, buschmann@nidsa.net, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17924: Inverted behavior of "Date" and "Reverse Date" when searching a mailbox archive
  In-Reply-To: <4144338.1683468308@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox