Re: BUG #16169: Default time output for 24:00 is 00:00
От | Francisco Olarte |
---|---|
Тема | Re: BUG #16169: Default time output for 24:00 is 00:00 |
Дата | |
Msg-id | CA+bJJbzTvsxDL4rnaPOQqT5HnhUJVH48U9N9XioLNsoY=9Bfig@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: BUG #16169: Default time output for 24:00 is 00:00 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: BUG #16169: Default time output for 24:00 is 00:00
|
Список | pgsql-bugs |
On Tue, Dec 17, 2019 at 7:18 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > Alvaro Herrera <alvherre@2ndquadrant.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.
В списке pgsql-bugs по дате отправления: