Accept "+infinity" in date and timestamp[tz] input.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2ceea5adb02603ef52579b568ca2c5aebed87358
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2023-01-01T19:16:07Z
Releases: 16.0
Accept "+infinity" in date and timestamp[tz] input.

The float and numeric types accept this variant spelling of
"infinity", so it seems like the datetime types should too.

Vik Fearing, some cosmetic mods by me

Discussion: https://postgr.es/m/d0bef637-2dbd-0a5d-e539-48243b6f6c5e@postgresfriends.org

Files

Discussion