Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvf0l-0004H2-Qt for pgsql-bugs@arkaria.postgresql.org; Sun, 07 May 2023 14:05:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pvf0i-0007rI-JH for pgsql-bugs@arkaria.postgresql.org; Sun, 07 May 2023 14:05:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvf0h-0007r9-UX for pgsql-bugs@lists.postgresql.org; Sun, 07 May 2023 14:05:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pvf0f-0012Fs-5s for pgsql-bugs@lists.postgresql.org; Sun, 07 May 2023 14:05:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 347E586f4144339; Sun, 7 May 2023 10:05:08 -0400 From: Tom Lane 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 In-reply-to: <17924-e2de0e7357152edb@postgresql.org> References: <17924-e2de0e7357152edb@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sun, 07 May 2023 10:27:27 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4144337.1683468308.1@sss.pgh.pa.us> Date: Sun, 07 May 2023 10:05:08 -0400 Message-ID: <4144338.1683468308@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form 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