pgsql: Fix error in commit e6feef57.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix error in commit e6feef57.
Date: 2019-07-19 00:09:09
Message-ID: E1hoGST-00028X-Iz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix error in commit e6feef57.

I was careless passing a datum directly to DATE_NOT_FINITE without
calling DatumGetDateADT() first.

Backpatch-through: 9.4

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/812623b69eac3535bcf422e6aea335d6f7753fec

Modified Files
--------------
src/backend/utils/adt/rangetypes.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2019-07-19 00:30:46 pgsql: Fix daterange canonicalization for +/- infinity.
Previous Message Jeff Davis 2019-07-19 00:08:39 pgsql: Fix error in commit e6feef57.