Re: Have I found an interval arithmetic bug?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, John W Higgins <wishdev(at)gmail(dot)com>, pgsql-hackers list <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Have I found an interval arithmetic bug?
Date: 2021-07-30 19:20:10
Message-ID: 20210730192010.GD9600@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Fri, Jul 30, 2021 at 03:08:56PM -0400, Robert Haas wrote:
> On Fri, Jul 30, 2021 at 3:03 PM Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > Here is an updated patch that includes some of your ideas.
>
> Just to be clear, I am against this patch. I don't think it's a
> minimal change for the reported problem, and I think some people will
> be unhappy about the behavior changes.

Uh, what do you suggest then? You wanted the years/months fixed, and
rounding at spill stop time makes sense, and fixes the problem.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dhanush D 2021-07-30 19:22:15 Postgres 9.6 to 12.7 pg_upgrade error - terminating connection due to administrator command
Previous Message Robert Haas 2021-07-30 19:08:56 Re: Have I found an interval arithmetic bug?

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2021-07-30 19:34:12 Re: [PoC] Improve dead tuple storage for lazy vacuum
Previous Message Robert Haas 2021-07-30 19:13:49 Re: [PoC] Improve dead tuple storage for lazy vacuum