Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ihHQ8-00052t-Li for pgsql-bugs@arkaria.postgresql.org; Tue, 17 Dec 2019 18:18:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ihHQ7-0001xS-EQ for pgsql-bugs@arkaria.postgresql.org; Tue, 17 Dec 2019 18:18:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ihHQ7-0001xL-2v for pgsql-bugs@lists.postgresql.org; Tue, 17 Dec 2019 18:18:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ihHQ1-0007lq-Se for pgsql-bugs@lists.postgresql.org; Tue, 17 Dec 2019 18:18:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xBHII0fH008220; Tue, 17 Dec 2019 13:18:00 -0500 From: Tom Lane To: Alvaro Herrera cc: folarte@peoplecall.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16169: Default time output for 24:00 is 00:00 In-reply-to: <20191217181426.GA27596@alvherre.pgsql> References: <20191217181426.GA27596@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 17 Dec 2019 15:14:26 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8218.1576606680.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 17 Dec 2019 13:18:00 -0500 Message-ID: <8219.1576606680@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2019-Dec-17, Tom Lane wrote: >> However ... when you run it on sqlfiddle, that shows the 't' column as >> 00:00:00 in both cases. It also shows the fourth column in a format >> that doesn't match any of our intervalstyle formats. > Hm, interesting. SELECT version() in sqlfiddle's postgres 9.6 says: > PostgreSQL 9.6.6 on x86_64-pc-linux-gnu, compiled by gcc (Debian 4.9.2-1= 0) 4.9.2, 64-bit > As I remember, EDB would be visible. Another theory is that the webpage is passing the output through some type-aware reformatting ... that seems pretty weird though. regards, tom lane