Re: BUG #16169: Default time output for 24:00 is 00:00

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: folarte(at)peoplecall(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16169: Default time output for 24:00 is 00:00
Date: 2019-12-17 18:18:00
Message-ID: 8219.1576606680@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> 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-10) 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Francisco Olarte 2019-12-17 18:29:21 Re: BUG #16169: Default time output for 24:00 is 00:00
Previous Message Alvaro Herrera 2019-12-17 18:14:26 Re: BUG #16169: Default time output for 24:00 is 00:00