From: | Francisco Olarte <folarte(at)peoplecall(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(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:29:21 |
Message-ID: | CA+bJJbzTvsxDL4rnaPOQqT5HnhUJVH48U9N9XioLNsoY=9Bfig@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Tue, Dec 17, 2019 at 7:18 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> 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.
I think it is that. http://sqlfiddle.com/#!17/9eecb/43349 == select
'24:00'::time::text; returns "24:00:00".
Francisco Olarte.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-12-17 21:05:57 | Re: BUG #16169: Default time output for 24:00 is 00:00 |
Previous Message | Tom Lane | 2019-12-17 18:18:00 | Re: BUG #16169: Default time output for 24:00 is 00:00 |