Remove dead code in DecodeInterval()
authorMichael Paquier <michael@paquier.xyz>
Mon, 28 Aug 2023 03:53:41 +0000 (12:53 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 28 Aug 2023 03:53:41 +0000 (12:53 +0900)
commitd6d1430f404386162831bc32906ad174b2007776
treefdb5cfa91923b0d443d2a5c58ea7f3569ddc68b0
parentbb45156f342c2cdb88cdd7f9efdc4541e910ec86
Remove dead code in DecodeInterval()

This commit removes some dead code related to the unit type RESERV,
whose last use has been removed from the unit lookup table used for
intervals ("deltatktbl" in datetime.c) in 666cbae16da4.  Before that,
RESERV was used as an equivalent of "invalid", but that's now
unreachable.

Author: Joseph Koshakow
Reviewed-by: Jacob Champion, Gurjeet Singh, Reid Thompson
Discussion: https://postgr.es/m/CAAvxfHd-yNO+XYnUxL=GaNZ1n+eE0V-oE0+-cC1jdjdU0KS3iw@mail.gmail.com
src/backend/utils/adt/datetime.c