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
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/477ebfc9695e267d3f345a77211579236bcac91c
Modified Files
--------------
src/backend/utils/adt/rangetypes.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)