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 1pBqqs-0007jl-3V for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Jan 2023 05:25:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pBqpr-0008Mk-Ip for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Jan 2023 05:24:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pBqpr-0008MY-9e for pgsql-hackers@lists.postgresql.org; Sun, 01 Jan 2023 05:24:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pBqpm-0006R4-Te for pgsql-hackers@lists.postgresql.org; Sun, 01 Jan 2023 05:24:36 +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 3015OUbf1120730; Sun, 1 Jan 2023 00:24:31 -0500 From: Tom Lane To: Vik Fearing cc: PostgreSQL Hackers , jian he Subject: Re: +infinity for dates and timestamps In-reply-to: References: Comments: In-reply-to Vik Fearing message dated "Sun, 01 Jan 2023 03:10:23 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1120728.1672550670.1@sss.pgh.pa.us> Date: Sun, 01 Jan 2023 00:24:30 -0500 Message-ID: <1120729.1672550670@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vik Fearing writes: > It has always annoyed me that we can't write '+infinity' for dates and > timestamps and get the OCD satisfaction of making our queries line up > with '-infinity'. +1, since it works for numerics it should work for these types too. (I didn't read the patch though.) regards, tom lane