Re: BUG #15910: Valgrind-detected error in DecodeTimeOnly
Alexander Law <exclusion@gmail.com>
From: Alexander Lakhin <exclusion@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2019-08-05T05:55:55Z
Lists: pgsql-bugs
Attachments
- fix-DecodeTimeOnly-v2.patch (text/x-patch) patch v2
Hello hackers, 16.07.2019 19:24, Alexander Lakhin wrote: >> Bug reference: 15910 >> Logged by: Alexander Lakhin >> Email address: exclusion@gmail.com >> PostgreSQL version: 12beta2 >> Operating system: Ubuntu 18.04 >> Description: >> >> When executing the following query: >> SELECT time with time zone '04:05:06 m2'; >> I get a strange result: >> timetz >> ------------------- >> 04:05:06+02:30:17 >> > The attached patch fixes this issue. In case this bug is worth fixing, please look at the improved patch with the corresponding regression test. Best regards, Alexander
Commits
-
Fix some incorrect parsing of time with time zone strings
- 1f7943698182 9.4.25 landed
- 1de3e0589a47 9.5.20 landed
- 7c64a2cd9446 9.6.16 landed
- 1ba4d0fe463e 10.11 landed
- d16d241a5555 11.6 landed
- d8652ec55513 12.0 landed
- 64579be64a38 13.0 landed