From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | mailtch(at)163(dot)com |
Subject: | BUG #16571: "time with time zone" type can input '00:00:00+1559'::time with time zone |
Date: | 2020-08-03 07:26:09 |
Message-ID: | 16571-eb7501598de78c8a@postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 16571
Logged by: osdba
Email address: mailtch(at)163(dot)com
PostgreSQL version: 13beta2
Operating system: all
Description:
In Document(/docs/current/datatype-datetime.html),
"time with time zone" range is: 00:00:00+1459 to 24:00:00-1459
but you can input:
osdba=# select '00:00:00+1559'::time with time zone;
timetz
----------------
00:00:00+15:59
(1 row)
osdba=# select '24:00:00-1559'::time with time zone;
timetz
----------------
24:00:00-15:59
(1 row)
you can input range is :
00:00:00+1559 to 24:00:00-1559
not the "00:00:00+1459 to 24:00:00-1459"
Document error or this type bug?
all version postgresql have this strange phenomenon.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-08-03 14:18:00 | Re: BUG #16571: "time with time zone" type can input '00:00:00+1559'::time with time zone |
Previous Message | PG Bug reporting form | 2020-08-03 07:14:06 | BUG #16570: Collation not working |