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 1jorc1-0000dD-58 for pgsql-general@arkaria.postgresql.org; Fri, 26 Jun 2020 16:54:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jorbz-0000KN-UQ for pgsql-general@arkaria.postgresql.org; Fri, 26 Jun 2020 16:53:59 +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 1jorbz-0000KE-Mr for pgsql-general@lists.postgresql.org; Fri, 26 Jun 2020 16:53:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jorbt-0005GS-EZ for pgsql-general@lists.postgresql.org; Fri, 26 Jun 2020 16:53:58 +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 05QGrn1S019971; Fri, 26 Jun 2020 12:53:49 -0400 From: Tom Lane To: Pavel Stehule cc: Thomas Kellerer , pgsql-general Subject: Re: timestamp - timestamp result In-reply-to: References: Comments: In-reply-to Pavel Stehule message dated "Fri, 26 Jun 2020 07:49:08 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <19969.1593190429.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Fri, 26 Jun 2020 12:53:49 -0400 Message-ID: <19970.1593190429@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pavel Stehule writes: > pá 26. 6. 2020 v 7:29 odesílatel Thomas Kellerer napsal: >> Is it safe to assume that "timestamp - timestamp" will never contain units >> larger then days? > Now, this operator internally calls only interval_justify_hours functions. We should probably document that --- I'll go do so. regards, tom lane