Re: BUG #15910: Valgrind-detected error in DecodeTimeOnly

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15910: Valgrind-detected error in DecodeTimeOnly
Date: 2019-08-05 05:55:55
Message-ID: 97ac4fe2-65d9-6a7b-76e0-5ad3b06cd9dc@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello hackers,

16.07.2019 19:24, Alexander Lakhin wrote:
>> Bug reference: 15910
>> Logged by: Alexander Lakhin
>> Email address: exclusion(at)gmail(dot)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

Attachment Content-Type Size
fix-DecodeTimeOnly-v2.patch text/x-patch 2.3 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2019-08-05 08:15:57 BUG #15939: Postgres database size is growing due to oraphan objects
Previous Message Peter Eisentraut 2019-08-02 09:25:59 Re: BUG #15937: Partitioning