Re: Bad canonicalization for dateranges with 'infinity' bounds

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>, Laurenz Albe <laurenz.albe@cybertec.at>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-07-19T00:17:03Z
Lists: pgsql-hackers
On Thu, 2019-07-18 at 17:36 -0400, Tom Lane wrote:
> The commit message claims this was back-patched, but I see no back-
> patch?

Sorry, I noticed an issue after pushing: we were passing a datum
directly to DATE_NOT_FINITE, when we should have called
DatumGetDateADT() first. I ran through the tests again and now pushed
to all branches.

> (The commit message doesn't seem to have made it to the pgsql-
> committers
> list either, but that's probably an independent issue.)

I was curious about that as well.

Regards,
	Jeff Davis





Commits

  1. Fix daterange canonicalization for +/- infinity.